mirror of
https://github.com/vcmi/vcmi.git
synced 2025-02-03 13:01:33 +02:00
Update lib/rmg/RmgPath.h
Co-authored-by: Ivan Savenko <saven.ivan@gmail.com>
This commit is contained in:
parent
c8fcc6ffca
commit
82501dc553
@ -21,7 +21,7 @@ namespace rmg
|
|||||||
class Path
|
class Path
|
||||||
{
|
{
|
||||||
public:
|
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;
|
const static MoveCostFunction DEFAULT_MOVEMENT_FUNCTION;
|
||||||
|
|
||||||
Path(const Area & area);
|
Path(const Area & area);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user