imported patch gamestate_to_model
This commit is contained in:
@@ -14,12 +14,6 @@ class Model : public Engine::ModelBase {
|
||||
int DoSaveLevel (const char* filename);
|
||||
bool OnLevelComplete();
|
||||
|
||||
void SetGameState (const GameState &state) {
|
||||
mLastGameState = mGameState;
|
||||
mGameState = state;
|
||||
};
|
||||
GameState GetGameState () { return mGameState; };
|
||||
|
||||
int GetPlayerLives () { return mPlayerLives; };
|
||||
unsigned int GetPoints () { return mPoints; };
|
||||
|
||||
@@ -46,9 +40,6 @@ class Model : public Engine::ModelBase {
|
||||
/** \brief Keeps a list of all asteroids */
|
||||
std::vector<unsigned int> mAsteroids;
|
||||
|
||||
GameState mGameState;
|
||||
GameState mLastGameState;
|
||||
|
||||
int mPlayerLives;
|
||||
unsigned int mPoints;
|
||||
std::vector<std::string> mLevelList;
|
||||
|
||||
Reference in New Issue
Block a user