class HealthPowerup
Public Instance Methods
graphics()
click to toggle source
# File lib/entities/powerups/health_powerup.rb, line 9 def graphics :life_up end
pickup(object)
click to toggle source
# File lib/entities/powerups/health_powerup.rb, line 2 def pickup(object) if object.class == Tank object.health.increase(25) true end end