프로퍼티 | 타입 | 설명 | |
---|---|---|---|
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 |