Class: Metacosm::EventListener
- Inherits:
-
Struct
- Object
- Struct
- Metacosm::EventListener
- Defined in:
- lib/metacosm.rb
Instance Attribute Summary collapse
-
#simulation ⇒ Object
Returns the value of attribute simulation.
Instance Method Summary collapse
Instance Attribute Details
#simulation ⇒ Object
Returns the value of attribute simulation
37 38 39 |
# File 'lib/metacosm.rb', line 37 def simulation @simulation end |
Instance Method Details
#fire(command) ⇒ Object
38 39 40 |
# File 'lib/metacosm.rb', line 38 def fire(command) self.simulation.fire(command) end |