/in/game.cpp: In function 'void RestoreGhosts(Game*)':
/in/game.cpp:351:39: error: 'Game {aka struct game}' has no member named 'scaredGhosts'
for (auto& scaredGhostPos : game->scaredGhosts) {
^~~~~~~~~~~~
/in/game.cpp:356:11: error: 'Game {aka struct game}' has no member named 'scaredGhosts'
game->scaredGhosts.clear();
^~~~~~~~~~~~
/in/game.cpp: In function 'void PacmanEat(Game*, int, int)':
/in/game.cpp:418:34: error: 'Game {aka struct game}' has no member named 'ghosts'
for (auto& ghost : game->ghosts) {
^~~~~~
/in/game.cpp:421:23: error: 'Game {aka struct game}' has no member named 'scaredGhosts'
game->scaredGhosts.push_back({ghost.row, ghost.col});
^~~~~~~~~~~~
/in/game.cpp:427:34: error: 'Game {aka struct game}' has no member named 'ghosts'
for (auto& ghost : game->ghosts) {
^~~~~~
/in/game.cpp:433:43: error: 'Game {aka struct game}' has no member named 'scaredGhosts'
for (auto& scaredGhostPos : game->scaredGhosts) {
^~~~~~~~~~~~