class BombPack

Public Instance Methods

collected_by_player(player) click to toggle source
# File line-em-up/models/bomb_pack.rb, line 13
def collected_by_player player
  value = 3
  player.bombs += (value * player.boost_increase).round
end
draw() click to toggle source
# File line-em-up/models/bomb_pack.rb, line 8
def draw
  # @image.draw_rot(@x, @y, ZOrder::Pickups, @y, 0.5, 0.5, 1, 1)
  draw_rot()
end
get_image() click to toggle source
# File line-em-up/models/bomb_pack.rb, line 4
def get_image
  Gosu::Image.new("#{MEDIA_DIRECTORY}/bomb_pack.png", :tileable => true)
end