Some minor edits
@@ -35,7 +35,7 @@ TurtleMap currently has four classes:
|
|||||||
|
|
||||||
## Region
|
## Region
|
||||||
|
|
||||||
This is a container for the raw map data. The tiles of a map are arranged in a grid pattern along the X & Y axis.
|
This is a container for the raw map data. The tiles of a map are arranged in a grid pattern along the X & Y axis. In addition, each tile has three layers, which can be accessed independantly, and a flag indicating if they're solid or not.
|
||||||
|
|
||||||
## RegionPagerBase
|
## RegionPagerBase
|
||||||
|
|
||||||
@@ -59,7 +59,7 @@ Each class also has an accompanying lua API. The APIs mimic the class methods as
|
|||||||
|
|
||||||
In order to build the library, simply call make, with the provided makefile. It will create the library "libturtlemap.a" in the directory above it's root directory.
|
In order to build the library, simply call make, with the provided makefile. It will create the library "libturtlemap.a" in the directory above it's root directory.
|
||||||
|
|
||||||
In order to use the lua APIs, the following needs to be included into linit.cpp (see the lua manual for information on linit.cpp).
|
In order to use the lua APIs in your game, the following needs to be included into linit.cpp (see the lua manual for information on linit.cpp).
|
||||||
|
|
||||||
```C++
|
```C++
|
||||||
#include "region_api.hpp"
|
#include "region_api.hpp"
|
||||||
|
|||||||
Reference in New Issue
Block a user