class Phase::HUD
- Phase::HUD
- Reference
- Object
Defined in:
phase/hud.crConstant Summary
-
Margin =
10
-
TextColor =
SF::Color::Green
-
TextSelectedColor =
SF::Color::White
Constructors
Class Method Summary
Instance Method Summary
- #draw(window : SF::RenderWindow)
- #draw_game_over(window)
- #draw_score(window)
- #draw_super_percent(window)
- #draw_super_weapons(window)
- #game_over? : Bool
- #game_over_message : String | Nil
- #margin
- #score_text : String
- #ship : Ship
- #super_percent_text : String
- #text : SF::Text
- #update(frame_time, score, game_over : Bool, game_over_message : Nil | String)