프로퍼티 | 타입 | 설명 | |
---|---|---|---|
repeatX | bool | ||
repeatY | bool |
프로퍼티 | 타입 | 설명 | |
---|---|---|---|
_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 |
메소드 | 설명 | |
---|---|---|
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, |
메소드 | 설명 | |
---|---|---|
buildTiles ( ) : void |
메소드 | 설명 | |
---|---|---|
FTilemap ( string elementBase, string elementExtension ) : System |
public HandleResize ( bool orientationChange ) : void | ||
orientationChange | bool | |
리턴 | void |
public LoadCSV ( string textFile, bool skipZero = true ) : void | ||
textFile | string | |
skipZero | bool | |
리턴 | void |
public LoadText ( string text, bool skipZero = true ) : void | ||
text | string | |
skipZero | bool | |
리턴 | void |
public getFrameNum ( int givenX, int givenY ) : int | ||
givenX | int | |
givenY | int | |
리턴 | int |
public getTile ( int givenX, int givenY ) : FSprite, | ||
givenX | int | |
givenY | int | |
리턴 | FSprite, |
public getTileAt ( float givenX, float givenY ) : FSprite, | ||
givenX | float | |
givenY | float | |
리턴 | FSprite, |