C# Class ThreadedPlatformer.Animation

Represents an animated texture.
Currently, this class assumes that each frame of animation is as wide as each animation is tall. The number of frames in the animation are inferred from this.
Mostrar archivo Open project: sq/Fracture Class Usage Examples

Public Methods

Method Description
Animation ( Microsoft.Xna.Framework.Graphics.Texture2D texture, float frameTime, bool isLooping ) : System

Constructors a new animation.

Method Details

Animation() public method

Constructors a new animation.
public Animation ( Microsoft.Xna.Framework.Graphics.Texture2D texture, float frameTime, bool isLooping ) : System
texture Microsoft.Xna.Framework.Graphics.Texture2D
frameTime float
isLooping bool
return System