improved font handling and HUD
This commit is contained in:
@@ -21,6 +21,7 @@ class Model : public Engine::ModelBase {
|
||||
GameState GetGameState () { return mGameState; };
|
||||
|
||||
int GetPlayerLives () { return mPlayerLives; };
|
||||
unsigned int GetPoints () { return mPoints; };
|
||||
|
||||
float GetWorldWidth ();
|
||||
float GetWorldHeight ();
|
||||
@@ -31,6 +32,7 @@ class Model : public Engine::ModelBase {
|
||||
virtual void OnDestroy() {
|
||||
Engine::ModelBase::OnDestroy();
|
||||
mAsteroids.clear();
|
||||
mLevelList.clear();
|
||||
delete mLevelCompleteEventHandler;
|
||||
};
|
||||
virtual void OnRegisterCommands ();
|
||||
@@ -48,6 +50,7 @@ class Model : public Engine::ModelBase {
|
||||
GameState mLastGameState;
|
||||
|
||||
int mPlayerLives;
|
||||
unsigned int mPoints;
|
||||
std::vector<std::string> mLevelList;
|
||||
unsigned int mCurrentLevelIndex;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user