mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
Pathfinding: add copy-pasted EPathfindingLayer
This commit is contained in:
parent
34cc9c78f7
commit
118039a368
@ -745,6 +745,25 @@ DLL_LINKAGE std::ostream & operator<<(std::ostream & os, const ETerrainType acti
|
||||
|
||||
ID_LIKE_OPERATORS_DECLS(ETerrainType, ETerrainType::EETerrainType)
|
||||
|
||||
class DLL_LINKAGE EPathfindingLayer
|
||||
{
|
||||
public:
|
||||
enum EEPathfindingLayer
|
||||
{
|
||||
AUTO = -1, LAND = 0, SAIL = 1, WATER, AIR, NUM_LAYERS
|
||||
};
|
||||
|
||||
EPathfindingLayer(EEPathfindingLayer _num = AUTO) : num(_num)
|
||||
{}
|
||||
|
||||
ID_LIKE_CLASS_COMMON(EPathfindingLayer, EEPathfindingLayer)
|
||||
|
||||
EEPathfindingLayer num;
|
||||
};
|
||||
|
||||
DLL_LINKAGE std::ostream & operator<<(std::ostream & os, const EPathfindingLayer actionType);
|
||||
|
||||
ID_LIKE_OPERATORS_DECLS(EPathfindingLayer, EPathfindingLayer::EEPathfindingLayer)
|
||||
|
||||
class BFieldType
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user