Property | Type | Description | |
---|---|---|---|
repeatX | bool | ||
repeatY | bool |
Property | Type | Description | |
---|---|---|---|
_baseName | string | ||
_clipHeight | float | ||
_clipNode | FNode, | ||
_clipPos | Vector2 | ||
_clipToScreen | bool | ||
_clipWidth | float | ||
_shader | FShader, | ||
_skipZero | bool | ||
_tileArray | int[] | ||
_tileHeight | float | ||
_tileWidth | float | ||
_tiles | List |
||
_tilesHigh | int | ||
_tilesWide | int |
Method | Description | |
---|---|---|
FTilemap ( string elementBase ) : System | ||
HandleResize ( bool orientationChange ) : void | ||
LoadCSV ( string textFile, bool skipZero = true ) : void | ||
LoadText ( string text, bool skipZero = true ) : void | ||
Update ( ) : void | ||
getFrameNum ( int givenX, int givenY ) : int | ||
getLeft ( ) : float | ||
getRight ( ) : float | ||
getTile ( int givenX, int givenY ) : FSprite, | ||
getTileAt ( float givenX, float givenY ) : FSprite, |
Method | Description | |
---|---|---|
buildTiles ( ) : void |
Method | Description | |
---|---|---|
FTilemap ( string elementBase, string elementExtension ) : System |
public FTilemap ( string elementBase ) : System | ||
elementBase | string | |
return | System |
public HandleResize ( bool orientationChange ) : void | ||
orientationChange | bool | |
return | void |
public LoadCSV ( string textFile, bool skipZero = true ) : void | ||
textFile | string | |
skipZero | bool | |
return | void |
public LoadText ( string text, bool skipZero = true ) : void | ||
text | string | |
skipZero | bool | |
return | void |
public getFrameNum ( int givenX, int givenY ) : int | ||
givenX | int | |
givenY | int | |
return | int |
public getTile ( int givenX, int givenY ) : FSprite, | ||
givenX | int | |
givenY | int | |
return | FSprite, |
public getTileAt ( float givenX, float givenY ) : FSprite, | ||
givenX | float | |
givenY | float | |
return | FSprite, |