class Shoot::HUD
- Shoot::HUD
- Reference
- Object
Defined in:
shoot/hud.crConstant Summary
-
Margin =
10
-
TextColor =
SF::Color::Green
-
TextColorHover =
SF::Color::White
-
TextColorJustPressed =
SF::Color.new(255, 0, 255)
-
TextColorJustReleased =
SF::Color.new(0, 0, 255)
-
TextColorPressed =
SF::Color.new(128, 128, 128)
Constructors
Instance Method Summary
- #draw(window : SF::RenderWindow)
- #ship : ShipBase
- #text : SF::Text
- #text_hover(mouse)
- #update(frame_time, mouse : Mouse)