Method: Core::Game::Combat::BattleObject#draw

Defined in:
lib/game/combat/battle.rb

#drawObject



128
129
130
131
132
133
134
# File 'lib/game/combat/battle.rb', line 128

def draw
  if @graphics[@frame]
    @graphics[@frame].draw(@x, @y, @z, 1, 1, @color)
  else
    @graphics.first.draw(@x, @y, @z, 1, 1, @color)
  end
end