Method | Description | |
---|---|---|
LoadMap ( |
Loads map from specified path, creates tiles and objects and put them into new Atlas object.
|
Method | Description | |
---|---|---|
CreateInstance ( string className, int tileNumber, |
||
FillNamedAreas ( IAtlas atlas, |
||
FillObjectLayer ( IAtlas atlas, |
||
FillTileLayer ( |
||
LoadAgent ( |
||
LoadCharacter ( |
||
NormalizeObjectPosition ( |
From absolute position in pixels to side of tile = 1
|
|
PolylineTransform ( |
||
RotateAroundCenter ( System.Vector2 target, System.Vector2 center, float angle ) : System.Vector2 | ||
SetGameObjectProperties ( List |
||
SetTileRelations ( IAtlas atlas, |
||
TilesetNameFromGid ( List |
||
TransformObjectPosition ( |
Transforms from rotation around left lower corner to rotation around center
|
public static LoadMap ( |
||
map | Deserialized .tmx file | |
tilesetTable | Table of numbers of game object and theirs classes | |
initializer | Action |
|
return | IAtlas |