class Shoot::Enemy
- Shoot::Enemy
- Reference
- Object
Defined in:
shoot/enemy.crConstant Summary
-
Color =
SF::Color.new(255, 80, 80)
-
HitSound =
SF::SoundBuffer.from_file("./assets/hit.wav")
-
MaxHealth =
100
-
Sheet =
"./assets/ship.png"
-
Size =
128
Constructors
Instance Method Summary
- #animations : GSF::Animations
- #draw(window : SF::RenderWindow)
- #draw_health(window)
- #global_bounds(*args, **options)
- #global_bounds(*args, **options, &)
- #health : Int32
- #health_color
- #health_percent
- #hit(laser : Laser)
- #hit_sound : SF::Sound
- #remove=(remove : Bool | Nil)
- #remove? : Bool?
- #update(_frame_time)
- #x : Int32
- #y : Int32