class SfmlBook::Chapter4::Player
- SfmlBook::Chapter4::Player
- Reference
- Object
Defined in:
chapter4/player.crConstant Summary
-
PLAYER_SPEED =
200.0
Constructors
Instance Method Summary
-
#assign_key(action : Action, key : SF::Keyboard::Key)
TODO Raise exception for invalid action
-
#assigned_key(action : Action)
TODO Raise exception for invalid action
- #handle_event(event : SF::Event, queue : Deque(Command))
- #handle_realtime_input(queue : Deque(Command))
- #realtime_action?(action : Action)
Constructor Detail
Instance Method Detail
TODO Raise exception for invalid action