allow resetting games
This commit is contained in:
@@ -40,6 +40,19 @@ class Game {
|
||||
*/
|
||||
void start();
|
||||
|
||||
/**
|
||||
* Resets the game
|
||||
*/
|
||||
void reset();
|
||||
|
||||
private:
|
||||
/**
|
||||
* Initializes the game
|
||||
*/
|
||||
void initialize();
|
||||
|
||||
public:
|
||||
|
||||
/**
|
||||
* Advances to the next frame while excecuting the actions taken by the player,
|
||||
* this is where the main game logic takes place
|
||||
|
||||
Reference in New Issue
Block a user