C# Class Dodgeball.Engine.Animation

Afficher le fichier Open project: schonstal/BLOODBALL

Méthodes publiques

Свойство Type Description
currentFrame int
elapsed float
frameDelay float
frames List

Méthodes publiques

Méthode Description
Animation ( List frames, int fps, bool looped ) : System
addAnimationCallback ( Action callback ) : void
addOnCompleteCallback ( Action callaback ) : void
getFrame ( ) : int
play ( ) : void
reset ( ) : void
start ( ) : void
stop ( ) : void

Method Details

Animation() public méthode

public Animation ( List frames, int fps, bool looped ) : System
frames List
fps int
looped bool
Résultat System

addAnimationCallback() public méthode

public addAnimationCallback ( Action callback ) : void
callback Action
Résultat void

addOnCompleteCallback() public méthode

public addOnCompleteCallback ( Action callaback ) : void
callaback Action
Résultat void

getFrame() public méthode

public getFrame ( ) : int
Résultat int

play() public méthode

public play ( ) : void
Résultat void

reset() public méthode

public reset ( ) : void
Résultat void

start() public méthode

public start ( ) : void
Résultat void

stop() public méthode

public stop ( ) : void
Résultat void

Property Details

currentFrame public_oe property

public int currentFrame
Résultat int

elapsed public_oe property

public float elapsed
Résultat float

frameDelay public_oe property

public float frameDelay
Résultat float

frames public_oe property

public List frames
Résultat List