Свойство | Type | Description | |
---|---|---|---|
flippedDiagonally | bool | ||
flippedHorizonally | bool | ||
flippedVertically | bool | ||
id | int | ||
x | int | ||
y | int |
Méthode | Description | |
---|---|---|
TiledTile ( int id ) : Microsoft.Xna.Framework | ||
ToString ( ) : string | ||
getTileRectangle ( TiledMap tilemap ) : |
Rectangle that encompases this tile with origin on the top left
|
|
getWorldPosition ( TiledMap tilemap ) : |
note that the origin is the top left so this position will represent that
|
|
setTileId ( int id ) : void |
sets a new Tile id for this tile and invalidates the previous tilesetTileIndex
|
public TiledTile ( int id ) : Microsoft.Xna.Framework | ||
id | int | |
Résultat | Microsoft.Xna.Framework |
public getTileRectangle ( TiledMap tilemap ) : |
||
tilemap | TiledMap | Tilemap. |
Résultat |
public getWorldPosition ( TiledMap tilemap ) : |
||
tilemap | TiledMap | Tilemap. |
Résultat |