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_player ⇒ Object
Returns the value of attribute last_saw_player.
-
#movecount ⇒ Object
Returns the value of attribute movecount.
-
#movedir ⇒ Object
Returns the value of attribute movedir.
-
#reactiontime ⇒ Object
Returns the value of attribute reactiontime.
-
#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
87 88 89 |
# File 'lib/doom/game/monster_ai.rb', line 87 def active @active end |
#attack_cooldown ⇒ Object
Returns the value of attribute attack_cooldown
87 88 89 |
# File 'lib/doom/game/monster_ai.rb', line 87 def attack_cooldown @attack_cooldown end |
#attack_frame_tic ⇒ Object
Returns the value of attribute attack_frame_tic
87 88 89 |
# File 'lib/doom/game/monster_ai.rb', line 87 def attack_frame_tic @attack_frame_tic end |
#attacking ⇒ Object
Returns the value of attribute attacking
87 88 89 |
# File 'lib/doom/game/monster_ai.rb', line 87 def attacking @attacking end |
#chase_timer ⇒ Object
Returns the value of attribute chase_timer
87 88 89 |
# File 'lib/doom/game/monster_ai.rb', line 87 def chase_timer @chase_timer end |
#fired ⇒ Object
Returns the value of attribute fired
87 88 89 |
# File 'lib/doom/game/monster_ai.rb', line 87 def fired @fired end |
#last_saw_player ⇒ Object
Returns the value of attribute last_saw_player
87 88 89 |
# File 'lib/doom/game/monster_ai.rb', line 87 def last_saw_player @last_saw_player end |
#movecount ⇒ Object
Returns the value of attribute movecount
87 88 89 |
# File 'lib/doom/game/monster_ai.rb', line 87 def movecount @movecount end |
#movedir ⇒ Object
Returns the value of attribute movedir
87 88 89 |
# File 'lib/doom/game/monster_ai.rb', line 87 def movedir @movedir end |
#reactiontime ⇒ Object
Returns the value of attribute reactiontime
87 88 89 |
# File 'lib/doom/game/monster_ai.rb', line 87 def reactiontime @reactiontime end |
#thing_idx ⇒ Object
Returns the value of attribute thing_idx
87 88 89 |
# File 'lib/doom/game/monster_ai.rb', line 87 def thing_idx @thing_idx end |
#type ⇒ Object
Returns the value of attribute type
87 88 89 |
# File 'lib/doom/game/monster_ai.rb', line 87 def type @type end |
#x ⇒ Object
Returns the value of attribute x
87 88 89 |
# File 'lib/doom/game/monster_ai.rb', line 87 def x @x end |
#y ⇒ Object
Returns the value of attribute y
87 88 89 |
# File 'lib/doom/game/monster_ai.rb', line 87 def y @y end |