class Breakout::Game
- Breakout::Game
- Reference
- Object
Included Modules
- SF::Drawable
Defined in:
breakout/game.crConstructors
Instance Method Summary
-
#draw(target : SF::RenderTarget, states : SF::RenderStates)
Draw the object to a render target.
- #game_over
- #reset_player
- #running : Bool
- #start
- #update(elapsed : SF::Time)
Constructor Detail
Instance Method Detail
def draw(target : SF::RenderTarget, states : SF::RenderStates)
#
Description copied from module SF::Drawable
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