fix issues

This commit is contained in:
2025-11-17 13:22:34 -05:00
parent 9a009d245b
commit d0edaa5add
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ FetchContent_Declare(json
FetchContent_MakeAvailable(SFML json)
add_executable(main src/main.cpp src/Entity.cpp src/Game.cpp src/MazeMap.cpp src/ResourceManager.cpp src/Blinky.cpp src/Pinky.cpp src/Inky.cpp src/Clyde.cpp)
add_executable(main src/main.cpp src/Entity.cpp src/Game.cpp src/MazeMap.cpp src/ResourceManager.cpp src/Blinky.cpp src/Pinky.cpp src/Inky.cpp src/Clyde.cpp src/Ghost.cpp)
target_compile_features(main PRIVATE cxx_std_17)
target_link_libraries(main PRIVATE SFML::Graphics SFML::Audio nlohmann_json::nlohmann_json)
+2
View File
@@ -55,6 +55,8 @@ private:
int boxBoundaryY;
bool isVulnerable;
Mode previousMode; // Mode to return to after vulnerable ends
protected:
sf::Vector2i targetTile;
};
#endif