Initialize timeSinceDeath

This commit is contained in:
Patricia Aas 2021-07-01 10:02:53 +02:00 committed by Patricia Aas
parent b6d0bad21c
commit fc31086ab9

View file

@ -25,7 +25,7 @@ private:
SuperPellets superPellets; SuperPellets superPellets;
std::tuple<Blinky, Speedy, Inky, Clyde> ghosts; std::tuple<Blinky, Speedy, Inky, Clyde> ghosts;
Score score; Score score;
std::chrono::milliseconds timeSinceDeath; std::chrono::milliseconds timeSinceDeath{};
void step(std::chrono::milliseconds delta, InputState inputState); void step(std::chrono::milliseconds delta, InputState inputState);
void eatPellets(); void eatPellets();