This repository has been archived on 2019-12-07. You can view files and clone it, but cannot push or open issues or pull requests.
dungeon-gunner/source/util/Pathfinder.h

26 lines
379 B
C
Raw Normal View History

2012-10-01 07:09:05 +00:00
/*
2012-12-20 14:07:47 +00:00
* pathfinder.h
2012-10-01 07:09:05 +00:00
*
* Created on: 24.09.2012
* Author: Felix
*/
2012-12-20 14:07:47 +00:00
#ifndef PATHFINDER_H_
#define PATHFINDER_H_
2012-10-01 07:09:05 +00:00
2012-12-22 14:10:26 +00:00
#include <SFML/System.hpp>
2012-12-23 14:50:49 +00:00
#include "../abstract/Sprite.h"
2012-10-01 07:09:05 +00:00
2012-12-23 14:50:49 +00:00
class Sprite;
2012-12-21 23:53:49 +00:00
2012-10-01 07:09:05 +00:00
class Pathfinder {
// Public functions.
public:
2012-12-21 23:53:49 +00:00
Pathfinder();
2012-10-01 07:09:05 +00:00
2012-12-23 14:50:49 +00:00
std::vector<sf::Vector2f> getPath(Sprite& physical, const sf::Vector2f& destination);
2012-10-01 07:09:05 +00:00
};
2012-12-20 14:07:47 +00:00
#endif /* PATHFINDER_H_ */