Breakout::Game
Inherits SF::Drawable / Reference / Object
Constructors
new
Instance methods
draw(target : SF::RenderTarget, states : SF::RenderStates)
Draw the object to a render target.
This is an abstract method that has to be implemented by the including class to define how the drawable should be drawn.
- target - Render target to draw to
- states - Current render states
game_over
reset_player
running
start
update(elapsed : SF::Time)