class RepairPowerup
Public Instance Methods
graphics()
click to toggle source
# File lib/entities/powerups/repair_powerup.rb, line 11 def graphics :repair end
pickup(object)
click to toggle source
# File lib/entities/powerups/repair_powerup.rb, line 2 def pickup(object) if object.class == Tank if object.health.health < 100 object.health.restore end true end end