You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
380 B

#pragma once
#include <SFML/Graphics.hpp>
#include <stack>
#include "Map.h"
#include "Pather.h"
class Explorer {
public:
Explorer(Map* map_);
~Explorer();
sf::Vector2i getPosition();
sf::Color getColor();
private:
sf::Color color;
sf::Vector2i position;
Map* map;
Pather* pather;
std::deque<int> movement_stack;
bool move();
bool plan(sf::Vector2i destination_);
};