This commit is contained in:
parent
fe2d8549f0
commit
cf5d20c297
2 changed files with 8 additions and 0 deletions
|
@ -87,12 +87,19 @@ void GameState::setNextScene( CScene *_nextScene )
|
|||
}
|
||||
|
||||
|
||||
|
||||
/*****************************************************************************/
|
||||
CScene * GameState::getCurrentScene()
|
||||
{
|
||||
return s_currentScene;
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
CScene * GameState::getPendingScene()
|
||||
{
|
||||
return s_pendingScene;
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
static int s_timeSpeed = ONE;
|
||||
void GameState::updateTimer()
|
||||
|
|
|
@ -53,6 +53,7 @@ public:
|
|||
static void setTimeSpeed( int speed );
|
||||
|
||||
static CScene * getCurrentScene();
|
||||
static CScene * getPendingScene();
|
||||
|
||||
#if defined(__TERRITORY_USA__) || defined(__TERRITORY_JAP__)
|
||||
static int getOneSecondInFrames() {return 60;}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue