31 #ifndef SWORD25_WALKREGION_H 32 #define SWORD25_WALKREGION_H 34 #include "common/array.h" 35 #include "sword25/kernel/common.h" 36 #include "sword25/math/region.h" 71 bool queryPath(
int x1,
int y1,
int x2,
int y2, BS_Path &path) {
85 void setPos(
int x,
int y)
override;
91 return _visibilityMatrix;
101 void initNodeVector();
102 void computeVisibilityMatrix();
103 bool checkAndPrepareStartAndEnd(
Vertex &start,
Vertex &end)
const;
104 bool findPath(
const Vertex &start,
const Vertex &end, BS_Path &path)
const;
bool queryPath(int x1, int y1, int x2, int y2, BS_Path &path)
Definition: walkregion.h:71
Eine Polygonklasse.
Definition: polygon.h:46
bool init(const Polygon &contour, const Common::Array< Polygon > *pHoles=0) override
Definition: walkregion.h:45
void setPos(int x, int y) override
Definition: outputpersistenceblock.h:39