1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-10 22:31:40 +02:00

Update lib/rmg/RmgPath.h

Co-authored-by: Ivan Savenko <saven.ivan@gmail.com>
This commit is contained in:
DjWarmonger
2024-12-02 13:15:27 +01:00
committed by GitHub
parent c8fcc6ffca
commit 82501dc553

View File

@@ -21,7 +21,7 @@ namespace rmg
class Path
{
public:
typedef std::function<float(const int3 &, const int3 &)> MoveCostFunction;
using MoveCostFunction = std::function<float(const int3 &, const int3 &)>;
const static MoveCostFunction DEFAULT_MOVEMENT_FUNCTION;
Path(const Area & area);