class Phase::Scene::Main
- Phase::Scene::Main
- GSF::Scene
- Reference
- Object
Defined in:
phase/scene/main.crConstant Summary
-
GameOverWaitDuration =
500.milliseconds
Constructors
Instance Method Summary
- #add_lasers
- #draw(window)
- #drop_off_targets : Array(NamedTuple(x: Int32, y: Int32))
- #enemy_carriers : Array(EnemyCarrier)
- #enemy_groups : Array(EnemyGroup)
- #game_over?
- #game_over_message
- #game_over_timer : Timer
- #hud : Phase::HUD
- #lasers : Array(Laser)
- #objs : Array(HealthObj)
- #restart? : Bool
- #score : Int32
- #ship : Phase::Ship
- #star_bases : Array(StarBase)
- #update(frame_time, keys : Keys, mouse : Mouse, joysticks : Joysticks)
- #update_enemy_carriers
- #update_lasers(frame_time)
- #update_objs(frame_time)
- #view : GSF::View