C# 클래스 FTilemap, FutileAdditionalClasses

상속: FContainer
파일 보기 프로젝트 열기: mattfox12/FutileAdditionalClasses 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
repeatX bool
repeatY bool

보호된 프로퍼티들

프로퍼티 타입 설명
_baseName string
_clipHeight float
_clipNode FNode,
_clipPos Vector2
_clipToScreen bool
_clipWidth float
_shader FShader,
_skipZero bool
_tileArray int[]
_tileHeight float
_tileWidth float
_tiles List
_tilesHigh int
_tilesWide int

공개 메소드들

메소드 설명
FTilemap ( string elementBase ) : System
HandleResize ( bool orientationChange ) : void
LoadCSV ( string textFile, bool skipZero = true ) : void
LoadText ( string text, bool skipZero = true ) : void
Update ( ) : void
getFrameNum ( int givenX, int givenY ) : int
getLeft ( ) : float
getRight ( ) : float
getTile ( int givenX, int givenY ) : FSprite,
getTileAt ( float givenX, float givenY ) : FSprite,

보호된 메소드들

메소드 설명
buildTiles ( ) : void

비공개 메소드들

메소드 설명
FTilemap ( string elementBase, string elementExtension ) : System

메소드 상세

FTilemap() 공개 메소드

public FTilemap ( string elementBase ) : System
elementBase string
리턴 System

HandleResize() 공개 메소드

public HandleResize ( bool orientationChange ) : void
orientationChange bool
리턴 void

LoadCSV() 공개 메소드

public LoadCSV ( string textFile, bool skipZero = true ) : void
textFile string
skipZero bool
리턴 void

LoadText() 공개 메소드

public LoadText ( string text, bool skipZero = true ) : void
text string
skipZero bool
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

buildTiles() 보호된 메소드

protected buildTiles ( ) : void
리턴 void

getFrameNum() 공개 메소드

public getFrameNum ( int givenX, int givenY ) : int
givenX int
givenY int
리턴 int

getLeft() 공개 메소드

public getLeft ( ) : float
리턴 float

getRight() 공개 메소드

public getRight ( ) : float
리턴 float

getTile() 공개 메소드

public getTile ( int givenX, int givenY ) : FSprite,
givenX int
givenY int
리턴 FSprite,

getTileAt() 공개 메소드

public getTileAt ( float givenX, float givenY ) : FSprite,
givenX float
givenY float
리턴 FSprite,

프로퍼티 상세

_baseName 보호되어 있는 프로퍼티

protected string _baseName
리턴 string

_clipHeight 보호되어 있는 프로퍼티

protected float _clipHeight
리턴 float

_clipNode 보호되어 있는 프로퍼티

protected FNode, _clipNode
리턴 FNode,

_clipPos 보호되어 있는 프로퍼티

protected Vector2 _clipPos
리턴 Vector2

_clipToScreen 보호되어 있는 프로퍼티

protected bool _clipToScreen
리턴 bool

_clipWidth 보호되어 있는 프로퍼티

protected float _clipWidth
리턴 float

_shader 보호되어 있는 프로퍼티

protected FShader, _shader
리턴 FShader,

_skipZero 보호되어 있는 프로퍼티

protected bool _skipZero
리턴 bool

_tileArray 보호되어 있는 프로퍼티

protected int[] _tileArray
리턴 int[]

_tileHeight 보호되어 있는 프로퍼티

protected float _tileHeight
리턴 float

_tileWidth 보호되어 있는 프로퍼티

protected float _tileWidth
리턴 float

_tiles 보호되어 있는 프로퍼티

protected List _tiles
리턴 List

_tilesHigh 보호되어 있는 프로퍼티

protected int _tilesHigh
리턴 int

_tilesWide 보호되어 있는 프로퍼티

protected int _tilesWide
리턴 int

repeatX 공개적으로 프로퍼티

public bool repeatX
리턴 bool

repeatY 공개적으로 프로퍼티

public bool repeatY
리턴 bool