Class: Doom::Game::MonsterAI::MonsterState

Inherits:
Struct
  • Object
show all
Defined in:
lib/doom/game/monster_ai.rb

Instance Attribute Summary collapse

Instance Attribute Details

#activeObject

Returns the value of attribute active

Returns:

  • (Object)

    the current value of active



87
88
89
# File 'lib/doom/game/monster_ai.rb', line 87

def active
  @active
end

#attack_cooldownObject

Returns the value of attribute attack_cooldown

Returns:

  • (Object)

    the current value of attack_cooldown



87
88
89
# File 'lib/doom/game/monster_ai.rb', line 87

def attack_cooldown
  @attack_cooldown
end

#attack_frame_ticObject

Returns the value of attribute attack_frame_tic

Returns:

  • (Object)

    the current value of attack_frame_tic



87
88
89
# File 'lib/doom/game/monster_ai.rb', line 87

def attack_frame_tic
  @attack_frame_tic
end

#attackingObject

Returns the value of attribute attacking

Returns:

  • (Object)

    the current value of attacking



87
88
89
# File 'lib/doom/game/monster_ai.rb', line 87

def attacking
  @attacking
end

#chase_timerObject

Returns the value of attribute chase_timer

Returns:

  • (Object)

    the current value of chase_timer



87
88
89
# File 'lib/doom/game/monster_ai.rb', line 87

def chase_timer
  @chase_timer
end

#firedObject

Returns the value of attribute fired

Returns:

  • (Object)

    the current value of fired



87
88
89
# File 'lib/doom/game/monster_ai.rb', line 87

def fired
  @fired
end

#last_saw_playerObject

Returns the value of attribute last_saw_player

Returns:

  • (Object)

    the current value of last_saw_player



87
88
89
# File 'lib/doom/game/monster_ai.rb', line 87

def last_saw_player
  @last_saw_player
end

#movecountObject

Returns the value of attribute movecount

Returns:

  • (Object)

    the current value of movecount



87
88
89
# File 'lib/doom/game/monster_ai.rb', line 87

def movecount
  @movecount
end

#movedirObject

Returns the value of attribute movedir

Returns:

  • (Object)

    the current value of movedir



87
88
89
# File 'lib/doom/game/monster_ai.rb', line 87

def movedir
  @movedir
end

#reactiontimeObject

Returns the value of attribute reactiontime

Returns:

  • (Object)

    the current value of reactiontime



87
88
89
# File 'lib/doom/game/monster_ai.rb', line 87

def reactiontime
  @reactiontime
end

#thing_idxObject

Returns the value of attribute thing_idx

Returns:

  • (Object)

    the current value of thing_idx



87
88
89
# File 'lib/doom/game/monster_ai.rb', line 87

def thing_idx
  @thing_idx
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



87
88
89
# File 'lib/doom/game/monster_ai.rb', line 87

def type
  @type
end

#xObject

Returns the value of attribute x

Returns:

  • (Object)

    the current value of x



87
88
89
# File 'lib/doom/game/monster_ai.rb', line 87

def x
  @x
end

#yObject

Returns the value of attribute y

Returns:

  • (Object)

    the current value of y



87
88
89
# File 'lib/doom/game/monster_ai.rb', line 87

def y
  @y
end