module Draco::Periodic

Public: A library for the Draco ECS system that allows the definition of Systems that run every n ticks.

Constants

VERSION

Public Class Methods

included(mod) click to toggle source
# File lib/draco/periodic.rb, line 9
def self.included(mod)
  mod.extend(ClassMethods)
  mod.prepend(InstanceMethods)
  mod.instance_variable_set(:@period, 1)
end