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



91
92
93
# File 'lib/doom/game/monster_ai.rb', line 91

def active
  @active
end

#attack_cooldownObject

Returns the value of attribute attack_cooldown

Returns:

  • (Object)

    the current value of attack_cooldown



91
92
93
# File 'lib/doom/game/monster_ai.rb', line 91

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



91
92
93
# File 'lib/doom/game/monster_ai.rb', line 91

def attack_frame_tic
  @attack_frame_tic
end

#attackingObject

Returns the value of attribute attacking

Returns:

  • (Object)

    the current value of attacking



91
92
93
# File 'lib/doom/game/monster_ai.rb', line 91

def attacking
  @attacking
end

#chase_timerObject

Returns the value of attribute chase_timer

Returns:

  • (Object)

    the current value of chase_timer



91
92
93
# File 'lib/doom/game/monster_ai.rb', line 91

def chase_timer
  @chase_timer
end

#firedObject

Returns the value of attribute fired

Returns:

  • (Object)

    the current value of fired



91
92
93
# File 'lib/doom/game/monster_ai.rb', line 91

def fired
  @fired
end

#last_saw_targetObject

Returns the value of attribute last_saw_target

Returns:

  • (Object)

    the current value of last_saw_target



91
92
93
# File 'lib/doom/game/monster_ai.rb', line 91

def last_saw_target
  @last_saw_target
end

#movecountObject

Returns the value of attribute movecount

Returns:

  • (Object)

    the current value of movecount



91
92
93
# File 'lib/doom/game/monster_ai.rb', line 91

def movecount
  @movecount
end

#movedirObject

Returns the value of attribute movedir

Returns:

  • (Object)

    the current value of movedir



91
92
93
# File 'lib/doom/game/monster_ai.rb', line 91

def movedir
  @movedir
end

#reactiontimeObject

Returns the value of attribute reactiontime

Returns:

  • (Object)

    the current value of reactiontime



91
92
93
# File 'lib/doom/game/monster_ai.rb', line 91

def reactiontime
  @reactiontime
end

#targetObject

Returns the value of attribute target

Returns:

  • (Object)

    the current value of target



91
92
93
# File 'lib/doom/game/monster_ai.rb', line 91

def target
  @target
end

#thing_idxObject

Returns the value of attribute thing_idx

Returns:

  • (Object)

    the current value of thing_idx



91
92
93
# File 'lib/doom/game/monster_ai.rb', line 91

def thing_idx
  @thing_idx
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



91
92
93
# File 'lib/doom/game/monster_ai.rb', line 91

def type
  @type
end

#xObject

Returns the value of attribute x

Returns:

  • (Object)

    the current value of x



91
92
93
# File 'lib/doom/game/monster_ai.rb', line 91

def x
  @x
end

#yObject

Returns the value of attribute y

Returns:

  • (Object)

    the current value of y



91
92
93
# File 'lib/doom/game/monster_ai.rb', line 91

def y
  @y
end