class SfmlBook::Chapter1::Game
- SfmlBook::Chapter1::Game
- Reference
- Object
Defined in:
chapter1/app.crConstant Summary
-
PLAYER_SPEED =
100
-
TIME_PER_FRAME =
SF.seconds(1 / 60)
Constructors
Instance Method Summary
- #handle_player_input(key : SF::Keyboard::Key, pressed : Bool)
- #process_events
- #render
- #run
- #update(delta : SF::Time)
- #update_statistics(elapsed : SF::Time)