imported patch gamestate_to_model

This commit is contained in:
2010-06-02 13:39:39 +02:00
parent 710d3e2509
commit 54e14b41af
3 changed files with 15 additions and 12 deletions
-9
View File
@@ -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;