diff --git a/include/FindValidPathToDest.hpp b/include/FindValidPathToDest.hpp index ddd5b68a..99b05485 100644 --- a/include/FindValidPathToDest.hpp +++ b/include/FindValidPathToDest.hpp @@ -20,7 +20,6 @@ class FindValidPathToDest { std::shared_ptr m_Map = std::make_shared(); std::deque m_dirQue; - bool b_InitNewLine = false; public: FindValidPathToDest(){}; diff --git a/include/Scene/MenuScene.hpp b/include/Scene/MenuScene.hpp index 6004a087..dfa2e441 100644 --- a/include/Scene/MenuScene.hpp +++ b/include/Scene/MenuScene.hpp @@ -8,12 +8,7 @@ #include "Scene/MapScene.hpp" #include "Scene/Scene.hpp" class MenuScene : public Scene { - enum class SceneMode { - DEFAULT, - MAP, - MENU, - TOTURIAL, - }; + enum class SceneMode { DEFAULT, MAP, MENU, TUTORIAL }; public: MenuScene() diff --git a/include/Unit/PathfindingUnit.hpp b/include/Unit/PathfindingUnit.hpp index bf2830a3..2f129e50 100644 --- a/include/Unit/PathfindingUnit.hpp +++ b/include/Unit/PathfindingUnit.hpp @@ -66,13 +66,6 @@ class PathfindingUnit { MoveDirection getCurrentDir() { return m_currentDir; } void setCurrentDir(MoveDirection direction) { m_currentDir = direction; } - // MoveDirection getDirByRelativeCells(glm::vec2 currentcell, - // glm::vec2 destinationcell); - // void findNextCellDir(MoveDirection lastDir, int times); - // glm::vec2 getNextCellByCurrent(MoveDirection currentdir, - // glm::vec2 currentcell); - // bool UpdateNextCell(int *times); - bool walkTowardNextCell(); }; #endif // PRACTICALTOOLSFORSIMPLEDESIGN_PATHFINDINGUNIT_HPP