Minor edits
+2
-2
@@ -4,13 +4,13 @@
|
|||||||
Region::type_t SetTile(int x, int y, int z, Region::type_t v);
|
Region::type_t SetTile(int x, int y, int z, Region::type_t v);
|
||||||
```
|
```
|
||||||
|
|
||||||
This takes an `x`, `y`, and `z` zero indexed parameter, indicating a tile in the map, and a layer. `v` is the new value for that tile. This function retreives a region with `GetRegion`, then it calls that region's `SetTile`.
|
This takes an `x`, `y`, and `z` parameter (`z` is zero indexed), indicating a tile in the map, and a layer. `v` is the new value for that tile. This function retreives a region with `GetRegion`, then it calls that region's `SetTile`.
|
||||||
|
|
||||||
```C++
|
```C++
|
||||||
Region::type_t GetTile(int x, int y, int z);
|
Region::type_t GetTile(int x, int y, int z);
|
||||||
```
|
```
|
||||||
|
|
||||||
This takes an `x`, `y`, and `z` zero indexed parameter, indicating a tile in the map, and a layer. It will return that Region::tile_t. This function retreives a region with `GetRegion`, then it calls that region's `GetTile`.
|
This takes an `x`, `y`, and `z` parameter (`z` is zero indexed), indicating a tile in the map, and a layer. It will return that `Region::tile_t`. This function retreives a region with `GetRegion`, then it calls that region's `GetTile`.
|
||||||
|
|
||||||
```C++
|
```C++
|
||||||
bool SetSolid(int x, int y, int b);
|
bool SetSolid(int x, int y, int b);
|
||||||
|
|||||||
Reference in New Issue
Block a user