update
This commit is contained in:
+7
-1
@@ -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
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user