Skip to content

Commit

Permalink
change
Browse files Browse the repository at this point in the history
  • Loading branch information
jonylu7 committed Apr 4, 2024
1 parent 3e8f729 commit 083853f
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 14 deletions.
1 change: 0 additions & 1 deletion include/FindValidPathToDest.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ class FindValidPathToDest {

std::shared_ptr<MapClass> m_Map = std::make_shared<MapClass>();
std::deque<MoveDirection> m_dirQue;
bool b_InitNewLine = false;

public:
FindValidPathToDest(){};
Expand Down
7 changes: 1 addition & 6 deletions include/Scene/MenuScene.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
7 changes: 0 additions & 7 deletions include/Unit/PathfindingUnit.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 083853f

Please sign in to comment.