bleck, reverting

This commit is contained in:
2015-08-22 06:44:24 -07:00
parent 56c4f158fc
commit 68aa5ac3e2
6 changed files with 27 additions and 18 deletions

View File

@@ -29,6 +29,7 @@ private:
class Pather {
public:
Pather(Map* map_);
Pather();
~Pather();
Map* map;
@@ -37,9 +38,9 @@ public:
std::unordered_map<node*, int> closedList;
int visitedMap[App::WINDOW_HEIGHT][App::WINDOW_WIDTH];
std::vector<int> pathTo(sf::Vector2i start, sf::Vector2i end);
std::vector<int> loop();
std::vector<int> returnPath();
std::deque<int> pathTo(sf::Vector2i start, sf::Vector2i end);
std::deque<int> loop();
std::deque<int> returnPath();
sf::Vector2i getEndNodePosition();
@@ -51,7 +52,7 @@ public:
private:
std::vector<int> path_list;
std::deque<int> path_list;
node* end_node;
};