mirror of
https://github.com/dylanbenzi/pacmen-sfml.git
synced 2026-11-27 00:17:01 +00:00
fix issues
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
|
||||
@@ -55,6 +55,8 @@ private:
|
||||
int boxBoundaryY;
|
||||
bool isVulnerable;
|
||||
Mode previousMode; // Mode to return to after vulnerable ends
|
||||
protected:
|
||||
sf::Vector2i targetTile;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user