C# Class FAnimatedSprite, FutileAdditionalClasses

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

Protected Properties

Свойство Type Description
_animations List
_baseExtension string
_baseName string
_currentAnim FAnimation,
_currentFrame int
_pause bool
_time float

Private Properties

Свойство Type Description
FAnimatedSprite System

Méthodes publiques

Méthode Description
FAnimatedSprite ( string elementBase ) : System
Update ( ) : void
addAnimation ( FAnimation, anim ) : void
pause ( bool forced = false ) : void
play ( string animName, bool forced = false ) : void

Private Methods

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

Method Details

FAnimatedSprite() public méthode

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

Update() public méthode

public Update ( ) : void
Résultat void

addAnimation() public méthode

public addAnimation ( FAnimation, anim ) : void
anim FAnimation,
Résultat void

pause() public méthode

public pause ( bool forced = false ) : void
forced bool
Résultat void

play() public méthode

public play ( string animName, bool forced = false ) : void
animName string
forced bool
Résultat void

Property Details

_animations protected_oe property

protected List _animations
Résultat List

_baseExtension protected_oe property

protected string _baseExtension
Résultat string

_baseName protected_oe property

protected string _baseName
Résultat string

_currentAnim protected_oe property

protected FAnimation, _currentAnim
Résultat FAnimation,

_currentFrame protected_oe property

protected int _currentFrame
Résultat int

_pause protected_oe property

protected bool _pause
Résultat bool

_time protected_oe property

protected float _time
Résultat float