This commit is contained in:
parent
fe2d8549f0
commit
cf5d20c297
@ -87,12 +87,19 @@ void GameState::setNextScene( CScene *_nextScene )
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
CScene * GameState::getCurrentScene()
|
CScene * GameState::getCurrentScene()
|
||||||
{
|
{
|
||||||
return s_currentScene;
|
return s_currentScene;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*****************************************************************************/
|
||||||
|
CScene * GameState::getPendingScene()
|
||||||
|
{
|
||||||
|
return s_pendingScene;
|
||||||
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
static int s_timeSpeed = ONE;
|
static int s_timeSpeed = ONE;
|
||||||
void GameState::updateTimer()
|
void GameState::updateTimer()
|
||||||
|
@ -53,6 +53,7 @@ public:
|
|||||||
static void setTimeSpeed( int speed );
|
static void setTimeSpeed( int speed );
|
||||||
|
|
||||||
static CScene * getCurrentScene();
|
static CScene * getCurrentScene();
|
||||||
|
static CScene * getPendingScene();
|
||||||
|
|
||||||
#if defined(__TERRITORY_USA__) || defined(__TERRITORY_JAP__)
|
#if defined(__TERRITORY_USA__) || defined(__TERRITORY_JAP__)
|
||||||
static int getOneSecondInFrames() {return 60;}
|
static int getOneSecondInFrames() {return 60;}
|
||||||
|
Loading…
Reference in New Issue
Block a user