Class: Doom::Game::MonsterAI::MonsterState
- Inherits:
-
Struct
- Object
- Struct
- Doom::Game::MonsterAI::MonsterState
- Defined in:
- lib/doom/game/monster_ai.rb
Instance Attribute Summary collapse
-
#active ⇒ Object
Returns the value of attribute active.
-
#attack_cooldown ⇒ Object
Returns the value of attribute attack_cooldown.
-
#attack_frame_tic ⇒ Object
Returns the value of attribute attack_frame_tic.
-
#attacking ⇒ Object
Returns the value of attribute attacking.
-
#chase_timer ⇒ Object
Returns the value of attribute chase_timer.
-
#fired ⇒ Object
Returns the value of attribute fired.
-
#last_saw_target ⇒ Object
Returns the value of attribute last_saw_target.
-
#movecount ⇒ Object
Returns the value of attribute movecount.
-
#movedir ⇒ Object
Returns the value of attribute movedir.
-
#reactiontime ⇒ Object
Returns the value of attribute reactiontime.
-
#target ⇒ Object
Returns the value of attribute target.
-
#thing_idx ⇒ Object
Returns the value of attribute thing_idx.
-
#type ⇒ Object
Returns the value of attribute type.
-
#x ⇒ Object
Returns the value of attribute x.
-
#y ⇒ Object
Returns the value of attribute y.
Instance Attribute Details
#active ⇒ Object
Returns the value of attribute active
91 92 93 |
# File 'lib/doom/game/monster_ai.rb', line 91 def active @active end |
#attack_cooldown ⇒ Object
Returns the value of attribute attack_cooldown
91 92 93 |
# File 'lib/doom/game/monster_ai.rb', line 91 def attack_cooldown @attack_cooldown end |
#attack_frame_tic ⇒ Object
Returns the value of attribute attack_frame_tic
91 92 93 |
# File 'lib/doom/game/monster_ai.rb', line 91 def attack_frame_tic @attack_frame_tic end |
#attacking ⇒ Object
Returns the value of attribute attacking
91 92 93 |
# File 'lib/doom/game/monster_ai.rb', line 91 def attacking @attacking end |
#chase_timer ⇒ Object
Returns the value of attribute chase_timer
91 92 93 |
# File 'lib/doom/game/monster_ai.rb', line 91 def chase_timer @chase_timer end |
#fired ⇒ Object
Returns the value of attribute fired
91 92 93 |
# File 'lib/doom/game/monster_ai.rb', line 91 def fired @fired end |
#last_saw_target ⇒ Object
Returns the value of attribute last_saw_target
91 92 93 |
# File 'lib/doom/game/monster_ai.rb', line 91 def last_saw_target @last_saw_target end |
#movecount ⇒ Object
Returns the value of attribute movecount
91 92 93 |
# File 'lib/doom/game/monster_ai.rb', line 91 def movecount @movecount end |
#movedir ⇒ Object
Returns the value of attribute movedir
91 92 93 |
# File 'lib/doom/game/monster_ai.rb', line 91 def movedir @movedir end |
#reactiontime ⇒ Object
Returns the value of attribute reactiontime
91 92 93 |
# File 'lib/doom/game/monster_ai.rb', line 91 def reactiontime @reactiontime end |
#target ⇒ Object
Returns the value of attribute target
91 92 93 |
# File 'lib/doom/game/monster_ai.rb', line 91 def target @target end |
#thing_idx ⇒ Object
Returns the value of attribute thing_idx
91 92 93 |
# File 'lib/doom/game/monster_ai.rb', line 91 def thing_idx @thing_idx end |
#type ⇒ Object
Returns the value of attribute type
91 92 93 |
# File 'lib/doom/game/monster_ai.rb', line 91 def type @type end |
#x ⇒ Object
Returns the value of attribute x
91 92 93 |
# File 'lib/doom/game/monster_ai.rb', line 91 def x @x end |
#y ⇒ Object
Returns the value of attribute y
91 92 93 |
# File 'lib/doom/game/monster_ai.rb', line 91 def y @y end |