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

25 lines
366 B
C++

/*
* pathfinder.h
*
* Created on: 24.09.2012
* Author: Felix
*/
#ifndef PATHFINDER_H_
#define PATHFINDER_H_
#include "../abstract/Body.h"
#include "../types/Vector.h"
class Body;
class Pathfinder {
// Public functions.
public:
Pathfinder();
std::vector<Vector2f> getPath(Body& physical, const Vector2f& destination);
};
#endif /* PATHFINDER_H_ */