Свойство | Тип | Описание | |
---|---|---|---|
firstId | int | ||
margin | int | ||
properties | string>.Dictionary | ||
spacing | int | ||
texture | Microsoft.Xna.Framework.Graphics.Texture2D | ||
tileHeight | int | ||
tileWidth | int | ||
tiles | List |
Свойство | Тип | Описание | |
---|---|---|---|
_regions | Subtexture>.Dictionary |
Метод | Описание | |
---|---|---|
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 | |
Результат | 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 | |
Результат | System.Collections.Generic |
public getTileTextureRegion ( int id ) : |
||
id | int | Identifier. |
Результат |
public Texture2D,Microsoft.Xna.Framework.Graphics texture | ||
Результат | Microsoft.Xna.Framework.Graphics.Texture2D |