class Draco::Events::Event
Internal: An event to run on next tick.
Attributes
entities[R]
Internal: The entities to pass to the System.
system[R]
Internal: The System to run.
Public Class Methods
new(system:, entities: nil)
click to toggle source
# File lib/draco/events.rb, line 108 def initialize(system:, entities: nil) @system = system @entities = Array(entities) if entities end