Class: Teien::Event::Actor::EnableAction

Inherits:
Object
  • Object
show all
Includes:
Action
Defined in:
lib/teien/actor/actor_event.rb

Direct Known Subclasses

RequestEnableAction

Instance Attribute Summary

Attributes included from Action

#actor_name, #backward, #forward, #jump, #left, #right

Instance Method Summary collapse

Methods included from Action

#copy, #reset

Constructor Details

#initialize(name) ⇒ EnableAction

Returns a new instance of EnableAction.



43
44
45
46
# File 'lib/teien/actor/actor_event.rb', line 43

def initialize(name)
  @actor_name = name
  reset()
end