Свойство | Type | Description | |
---|---|---|---|
firstId | int | ||
margin | int | ||
properties | string>.Dictionary | ||
spacing | int | ||
texture | Microsoft.Xna.Framework.Graphics.Texture2D | ||
tileHeight | int | ||
tileWidth | int | ||
tiles | List |
Свойство | Type | Description | |
---|---|---|---|
_regions | Subtexture>.Dictionary |
Méthode | Description | |
---|---|---|
TiledTileset ( Microsoft.Xna.Framework.Graphics.Texture2D texture, int firstId ) : System.Collections.Generic | ||
TiledTileset ( Microsoft.Xna.Framework.Graphics.Texture2D texture, int firstId, int tileWidth, int tileHeight, int spacing = 2, int margin = 2 ) : System.Collections.Generic | ||
getTileTextureRegion ( int id ) : |
gets the Subtexture for the tile with id
|
public TiledTileset ( Microsoft.Xna.Framework.Graphics.Texture2D texture, int firstId ) : System.Collections.Generic | ||
texture | Microsoft.Xna.Framework.Graphics.Texture2D | |
firstId | int | |
Résultat | System.Collections.Generic |
public TiledTileset ( Microsoft.Xna.Framework.Graphics.Texture2D texture, int firstId, int tileWidth, int tileHeight, int spacing = 2, int margin = 2 ) : System.Collections.Generic | ||
texture | Microsoft.Xna.Framework.Graphics.Texture2D | |
firstId | int | |
tileWidth | int | |
tileHeight | int | |
spacing | int | |
margin | int | |
Résultat | System.Collections.Generic |
public getTileTextureRegion ( int id ) : |
||
id | int | Identifier. |
Résultat |
public Texture2D,Microsoft.Xna.Framework.Graphics texture | ||
Résultat | Microsoft.Xna.Framework.Graphics.Texture2D |