C# Class FTilemap, FutileAdditionalClasses

Inheritance: FContainer
Afficher le fichier Open project: mattfox12/FutileAdditionalClasses Class Usage Examples

Méthodes publiques

Свойство Type Description
repeatX bool
repeatY bool

Protected Properties

Свойство Type Description
_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

Méthodes publiques

Méthode Description
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,

Méthodes protégées

Méthode Description
buildTiles ( ) : void

Private Methods

Méthode Description
FTilemap ( string elementBase, string elementExtension ) : System

Method Details

FTilemap() public méthode

public FTilemap ( string elementBase ) : System
elementBase string
Résultat System

HandleResize() public méthode

public HandleResize ( bool orientationChange ) : void
orientationChange bool
Résultat void

LoadCSV() public méthode

public LoadCSV ( string textFile, bool skipZero = true ) : void
textFile string
skipZero bool
Résultat void

LoadText() public méthode

public LoadText ( string text, bool skipZero = true ) : void
text string
skipZero bool
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

buildTiles() protected méthode

protected buildTiles ( ) : void
Résultat void

getFrameNum() public méthode

public getFrameNum ( int givenX, int givenY ) : int
givenX int
givenY int
Résultat int

getLeft() public méthode

public getLeft ( ) : float
Résultat float

getRight() public méthode

public getRight ( ) : float
Résultat float

getTile() public méthode

public getTile ( int givenX, int givenY ) : FSprite,
givenX int
givenY int
Résultat FSprite,

getTileAt() public méthode

public getTileAt ( float givenX, float givenY ) : FSprite,
givenX float
givenY float
Résultat FSprite,

Property Details

_baseName protected_oe property

protected string _baseName
Résultat string

_clipHeight protected_oe property

protected float _clipHeight
Résultat float

_clipNode protected_oe property

protected FNode, _clipNode
Résultat FNode,

_clipPos protected_oe property

protected Vector2 _clipPos
Résultat Vector2

_clipToScreen protected_oe property

protected bool _clipToScreen
Résultat bool

_clipWidth protected_oe property

protected float _clipWidth
Résultat float

_shader protected_oe property

protected FShader, _shader
Résultat FShader,

_skipZero protected_oe property

protected bool _skipZero
Résultat bool

_tileArray protected_oe property

protected int[] _tileArray
Résultat int[]

_tileHeight protected_oe property

protected float _tileHeight
Résultat float

_tileWidth protected_oe property

protected float _tileWidth
Résultat float

_tiles protected_oe property

protected List _tiles
Résultat List

_tilesHigh protected_oe property

protected int _tilesHigh
Résultat int

_tilesWide protected_oe property

protected int _tilesWide
Résultat int

repeatX public_oe property

public bool repeatX
Résultat bool

repeatY public_oe property

public bool repeatY
Résultat bool