1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-02-01 12:57:51 +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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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);