Class: Core::Game::Events::TriggerEvent
- Defined in:
- lib/game/map/events.rb
Instance Attribute Summary collapse
-
#other ⇒ Object
readonly
Returns the value of attribute other.
Attributes inherited from Event
Instance Method Summary collapse
-
#initialize(activator, other) ⇒ TriggerEvent
constructor
A new instance of TriggerEvent.
Constructor Details
#initialize(activator, other) ⇒ TriggerEvent
Returns a new instance of TriggerEvent.
22 23 24 25 |
# File 'lib/game/map/events.rb', line 22 def initialize(activator, other) super(activator) @other = other end |
Instance Attribute Details
#other ⇒ Object (readonly)
Returns the value of attribute other.
21 22 23 |
# File 'lib/game/map/events.rb', line 21 def other @other end |