Add fly animations

This commit is contained in:
Bram Verhulst
2024-05-29 00:00:29 +02:00
parent 3c83e566dd
commit e1165fdcb4
31 changed files with 580 additions and 157 deletions

View File

@@ -10,10 +10,10 @@ public:
void SetMainScreen(MainScreen* pMainScreen);
void SetFuel(int fuel);
int GetFuel() const;
void DecreaseFuel(int fuel);
void AddFuel(int fuel);
void SetFuel(float fuel);
float GetFuel() const;
void DecreaseFuel(float fuel);
void AddFuel(float fuel);
void SetHullIntegrity(int hullIntegrity);
int GetHullIntegrity() const;
@@ -23,7 +23,12 @@ public:
int GetScore() const;
void IncreaseScore(int score);
void SetMoney(int money);
int GetMoney() const;
void IncreaseMoney(int money);
void Update(float elapsedSecs);
int GetMaxFuel();
private:
GameManager() = default;
@@ -31,8 +36,9 @@ private:
float m_Balance{ 0.0f };
int m_HullIntegrity{ 100 };
int m_Fuel{ 100 };
float m_Fuel{ 100.0f };
int m_Score{ 0 };
int m_Money{ 0 };
MainScreen* m_pMainScreen{ nullptr };
};