#include "Map.hxx"
#include "basics/Camera.hxx"
#include "basics/isoMath.hxx"
#include "basics/mapEdit.hxx"
#include "basics/Settings.hxx"
#include "LOG.hxx"
#include "common/Constants.hxx"
#include "map/MapLayers.hxx"
#include "common/JsonSerialization.hxx"
#include "Filesystem.hxx"
#include "../services/Randomizer.hxx"
#include "json.hxx"
#include <sstream>
#include <string>
#include <set>
#include <queue>
Go to the source code of this file.
|
using | json = nlohmann::json |
|
|
NeighborNodesPosition | operator++ (NeighborNodesPosition &nn, int) |
|
◆ json
using json = nlohmann::json |
◆ operator++()
NeighborNodesPosition operator++ |
( |
NeighborNodesPosition & |
nn, |
|
|
int |
|
|
) |
| |
Definition at line 28 of file Map.cxx.
30 NeighborNodesPosition res = nn;
34 case NeighborNodesPosition::BOTTOM_LEFT:
35 nn = NeighborNodesPosition::LEFT;
37 case NeighborNodesPosition::LEFT:
38 nn = NeighborNodesPosition::TOP_LEFT;
40 case NeighborNodesPosition::TOP_LEFT:
41 nn = NeighborNodesPosition::BOTTOM;
43 case NeighborNodesPosition::BOTTOM:
44 nn = NeighborNodesPosition::CENTER;
46 case NeighborNodesPosition::CENTER:
47 nn = NeighborNodesPosition::TOP;
49 case NeighborNodesPosition::TOP:
50 nn = NeighborNodesPosition::BOTTOM_RIGHT;
52 case NeighborNodesPosition::BOTTOM_RIGHT:
53 nn = NeighborNodesPosition::RIGHT;
55 case NeighborNodesPosition::RIGHT:
56 nn = NeighborNodesPosition::TOP_RIGHT;
58 case NeighborNodesPosition::TOP_RIGHT:
59 nn = NeighborNodesPosition::BOTTOM_LEFT;