class

SfmlBook::Chapter3::Game

Inherits Reference < Object

Constants

TIME_PER_FRAME = SF.seconds(1 / 60)

Constructors

Instance methods

handle_player_input(key : SF::Keyboard::Key, pressed : Bool)
Source
process_events
Source
render
Source
update(delta : SF::Time)
Source
update_statistics(elapsed : SF::Time)
Source