C# Class Sharpex2D.Rendering.AnimatedSpriteSheet

Inheritance: SpriteSheet, IUpdateable
Datei anzeigen Open project: ThuCommix/Sharpex2D Class Usage Examples

Public Methods

Method Description
ActivateKeyframe ( int index ) : void

Activates a Keyframe.

Add ( Keyframe keyframe ) : void

Adds a new Keyframe.

AnimatedSpriteSheet ( Texture2D texture2D ) : System.Collections.Generic

Initializes a new AnimatedSpriteSheet class.

Remove ( Keyframe keyframe ) : void

Removes a Keyframe.

RemoveAt ( int index ) : void

Removes a Keyframe at a specific index.

Update ( GameTime gameTime ) : void

Updates the object.

Method Details

ActivateKeyframe() public method

Activates a Keyframe.
public ActivateKeyframe ( int index ) : void
index int The Index.
return void

Add() public method

Adds a new Keyframe.
public Add ( Keyframe keyframe ) : void
keyframe Keyframe The Keyframe.
return void

AnimatedSpriteSheet() public method

Initializes a new AnimatedSpriteSheet class.
public AnimatedSpriteSheet ( Texture2D texture2D ) : System.Collections.Generic
texture2D Texture2D The Texture2D.
return System.Collections.Generic

Remove() public method

Removes a Keyframe.
public Remove ( Keyframe keyframe ) : void
keyframe Keyframe The Keyframe.
return void

RemoveAt() public method

Removes a Keyframe at a specific index.
public RemoveAt ( int index ) : void
index int The Index.
return void

Update() public method

Updates the object.
public Update ( GameTime gameTime ) : void
gameTime GameTime The GameTime.
return void