class

JamWarmUp::Enemy

Inherits JamWarmUp::Ship < Reference < Object

Constants

Color = SF::Color.new(255, 128, 255)
FlashColor = SF::Color.new(255, 64, 64)
FlashDuration = 25.milliseconds
FlashTimes = 3
MaxHealth = 100
Score = 100
Speed = -256

Constructors

new(x = 0, y = 0)
Source

Instance methods

flash
Source
flash_timer
Source
health
Source
score
Source
take_damage(damage)
Source
update(frame_time)
Source