Add fly animations
This commit is contained in:
@@ -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 };
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user