![]() |
Resonance Game
Team Walterio Fuchsbauer
|
Public Types | |
enum | START |
Public Member Functions | |
void | setTexture (int index) |
Set the current texture of this TextureAnimation. | |
void | playTextureAnim () |
Play the texture animation. | |
void | playTextureAnimOnce () |
Play the texture animation once. | |
void | pauseTextureAnim () |
Pause the texture animation. | |
void | setTexture (int index, Texture2D texture) |
TextureAnimation (List< Texture2D > textures, START state, double frameDelay) | |
TextureAnimation (Texture2D texture) | |
void | Update (GameTime gameTime) |
Properties | |
TextureAnimation | Copy [get] |
double | FrameDelay [get] |
bool | Paused [get] |
List< Texture2D > | Textures [set] |
Texture2D | Texture [get] |
Returns the texture that should be currently displayed. |
Resonance.TextureAnimation.TextureAnimation | ( | List< Texture2D > | textures, |
START | state, | ||
double | frameDelay | ||
) |
Resonance.TextureAnimation.TextureAnimation | ( | Texture2D | texture | ) |
Pause the texture animation.
Play the texture animation.
Play the texture animation once.
void Resonance.TextureAnimation.setTexture | ( | int | index | ) |
Set the current texture of this TextureAnimation.
index | Index of the texture. |
void Resonance.TextureAnimation.setTexture | ( | int | index, |
Texture2D | texture | ||
) |
void Resonance.TextureAnimation.Update | ( | GameTime | gameTime | ) |
double Resonance.TextureAnimation.FrameDelay [get] |
bool Resonance.TextureAnimation.Paused [get] |
Texture2D Resonance.TextureAnimation.Texture [get] |
Returns the texture that should be currently displayed.
List<Texture2D> Resonance.TextureAnimation.Textures [set] |