This commit is contained in:
bart
2026-11-08 17:06:47 +01:00
parent 17901ce25c
commit 408541c7e0
46 changed files with 1474 additions and 1057 deletions
+7 -1
View File
@@ -7,6 +7,10 @@
#include "terrain.h"
#include "matrix2d.h"
#include "terrainmovementmanager.h"
struct UnitConfig;
class Pathfinder {
public:
static QVector2D hexToWorld(int x, int y);
@@ -16,7 +20,9 @@ public:
int startX, int startY,
int goalX, int goalY,
Matrix2D<TerrainPoint> *mapPoints = nullptr,
int numPoints05 = 0
int numPoints05 = 0,
MovementDomain domain = MovementDomain::Land,
const UnitConfig *unitConfig = nullptr
);
};