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)
SourceInstance methods
flash
Sourceflash_timer
Sourcehealth
Sourcescore
Sourcetake_damage(damage)
Sourceupdate(frame_time)
Source