Resonance Game
Team Walterio Fuchsbauer
 All Classes Namespaces Files Functions Variables Enumerations Properties
Resonance.TextureAnimation Class Reference

List of all members.

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.

Member Enumeration Documentation


Constructor & Destructor Documentation

Resonance.TextureAnimation.TextureAnimation ( List< Texture2D >  textures,
START  state,
double  frameDelay 
)

Member Function Documentation

Pause the texture animation.

Here is the caller graph for this function:

Play the texture animation.

Here is the caller graph for this function:

Play the texture animation once.

Here is the caller graph for this function:

Set the current texture of this TextureAnimation.

Parameters:
indexIndex of the texture.

Here is the caller graph for this function:

void Resonance.TextureAnimation.setTexture ( int  index,
Texture2D  texture 
)
void Resonance.TextureAnimation.Update ( GameTime  gameTime)

Here is the caller graph for this function:


Property Documentation

Returns the texture that should be currently displayed.

List<Texture2D> Resonance.TextureAnimation.Textures [set]

The documentation for this class was generated from the following file: