Class: Core::Game::Events::Event
Direct Known Subclasses
Instance Attribute Summary collapse
-
#object ⇒ Object
readonly
Returns the value of attribute object.
Instance Method Summary collapse
-
#initialize(obj) ⇒ Event
constructor
A new instance of Event.
Constructor Details
#initialize(obj) ⇒ Event
Returns a new instance of Event.
7 8 9 |
# File 'lib/game/map/events.rb', line 7 def initialize(obj) @object = obj end |
Instance Attribute Details
#object ⇒ Object (readonly)
Returns the value of attribute object.
6 7 8 |
# File 'lib/game/map/events.rb', line 6 def object @object end |