used tileset sprite sheet for asteroids
This commit is contained in:
@ -67,6 +67,10 @@ public:
|
||||
int asteroidsRemaining() const { return asteroidsRemainingCount; }
|
||||
int asteroidsTotal() const { return asteroidsTotalThisLevel; }
|
||||
bool isChallengeComplete() const { return challengeComplete; }
|
||||
bool isChallengeLevelActive() const { return challengeLevelActive; }
|
||||
bool isChallengeAdvanceQueued() const { return challengeAdvanceQueued; }
|
||||
int queuedChallengeLevel() const { return challengeQueuedLevel; }
|
||||
int consumeQueuedChallengeLevel(); // returns next level if queued, else 0
|
||||
int startLevelBase() const { return startLevel; }
|
||||
double elapsed() const; // Now calculated from start time
|
||||
void updateElapsedTime(); // Update elapsed time from system clock
|
||||
@ -168,6 +172,8 @@ private:
|
||||
uint32_t challengeSeedBase{0};
|
||||
std::mt19937 challengeRng{ std::random_device{}() };
|
||||
bool challengeLevelActive{false};
|
||||
bool challengeAdvanceQueued{false};
|
||||
int challengeQueuedLevel{0};
|
||||
|
||||
// Internal helpers ----------------------------------------------------
|
||||
void refillBag();
|
||||
|
||||
Reference in New Issue
Block a user