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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user