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
66 67 68 |
# File 'lib/metacosm.rb', line 66 def simulation @simulation end |
Instance Method Details
#fire(command) ⇒ Object
67 68 69 |
# File 'lib/metacosm.rb', line 67 def fire(command) self.simulation.fire(command) end |