MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / MaxHeight

Method MaxHeight

Source/Tiles.hpp:98–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96 }
97
98 int16 MaxHeight() const {
99 int16 Height = 0;
100
101 for (auto Tile : mTiles) {
102 if (Height < Tile.mY)
103 Height = Tile.mY;
104 }
105 return Height;
106 }
107};
108
109extern const int8 mTiles_NotFlyable[];

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected