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)
|
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_compile_features(main PRIVATE cxx_std_17)
|
||||||
target_link_libraries(main PRIVATE SFML::Graphics SFML::Audio nlohmann_json::nlohmann_json)
|
target_link_libraries(main PRIVATE SFML::Graphics SFML::Audio nlohmann_json::nlohmann_json)
|
||||||
|
|
||||||
|
|||||||
@@ -55,6 +55,8 @@ private:
|
|||||||
int boxBoundaryY;
|
int boxBoundaryY;
|
||||||
bool isVulnerable;
|
bool isVulnerable;
|
||||||
Mode previousMode; // Mode to return to after vulnerable ends
|
Mode previousMode; // Mode to return to after vulnerable ends
|
||||||
|
protected:
|
||||||
|
sf::Vector2i targetTile;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user