#include <EndGame.h>
Inheritance diagram for EndGame:
Public Methods | |
EndGame () | |
Constructs the EndGame with a default timeToReset. | |
EndGame (float timeToReset) | |
Constructs the EndGame to end the game after the given amount of time. | |
virtual | ~EndGame () |
Destructor. | |
bool | update (float dt) |
Update counts down the time left. | |
Static Public Methods | |
void | initTimeToReset (ConfigFile &f) |
Initializes the default timeToReset from information in the ConfigFile. |
|
Constructs the EndGame with a default timeToReset.
|
|
Constructs the EndGame to end the game after the given amount of time.
|
|
Destructor.
|
|
Initializes the default timeToReset from information in the ConfigFile.
|
|
Update counts down the time left. Restarts the game after time runs out. Implements GameLogic. |