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.

23 lines
392 B

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