Exemple #1
0
void Game::resetGame()
{
	sgoBall.reset();
	resetBallCamera();

	updateGameField(sgoBall);

	Main::pushState(gScreenMain1);
}
Exemple #2
0
void Editor::enableTestMode()
{
	mBall.reset();

	resetBallCamera();
	enableBallCamera();
	enableBall();

	initGameField();

	mState = STATE_TESTING;
}