improved font handling and HUD

This commit is contained in:
2010-05-02 22:39:49 +02:00
parent 53220eb0ee
commit 710d3e2509
11 changed files with 132 additions and 24 deletions
+3
View File
@@ -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;