C# 클래스 Nez.Tiled.TiledTileset

파일 보기 프로젝트 열기: prime31/Nez 1 사용 예제들

공개 프로퍼티들

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

gets the Subtexture for the tile with id

메소드 상세

TiledTileset() 공개 메소드

public TiledTileset ( Microsoft.Xna.Framework.Graphics.Texture2D texture, int firstId ) : System.Collections.Generic
texture Microsoft.Xna.Framework.Graphics.Texture2D
firstId int
리턴 System.Collections.Generic

TiledTileset() 공개 메소드

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

getTileTextureRegion() 공개 메소드

gets the Subtexture for the tile with id
public getTileTextureRegion ( int id ) : Subtexture
id int Identifier.
리턴 Nez.Textures.Subtexture

프로퍼티 상세

_regions 보호되어 있는 프로퍼티

protected Dictionary _regions
리턴 Subtexture>.Dictionary

firstId 공개적으로 프로퍼티

public int firstId
리턴 int

margin 공개적으로 프로퍼티

public int margin
리턴 int

properties 공개적으로 프로퍼티

public Dictionary properties
리턴 string>.Dictionary

spacing 공개적으로 프로퍼티

public int spacing
리턴 int

texture 공개적으로 프로퍼티

public Texture2D,Microsoft.Xna.Framework.Graphics texture
리턴 Microsoft.Xna.Framework.Graphics.Texture2D

tileHeight 공개적으로 프로퍼티

public int tileHeight
리턴 int

tileWidth 공개적으로 프로퍼티

public int tileWidth
리턴 int

tiles 공개적으로 프로퍼티

public List tiles
리턴 List