C# Class Sharpex2D.Rendering.AnimatedSpriteSheet

Inheritance: SpriteSheet, IUpdateable
Afficher le fichier Open project: ThuCommix/Sharpex2D Class Usage Examples

Méthodes publiques

Méthode 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 méthode

Activates a Keyframe.
public ActivateKeyframe ( int index ) : void
index int The Index.
Résultat void

Add() public méthode

Adds a new Keyframe.
public Add ( Keyframe keyframe ) : void
keyframe Keyframe The Keyframe.
Résultat void

AnimatedSpriteSheet() public méthode

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

Remove() public méthode

Removes a Keyframe.
public Remove ( Keyframe keyframe ) : void
keyframe Keyframe The Keyframe.
Résultat void

RemoveAt() public méthode

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

Update() public méthode

Updates the object.
public Update ( GameTime gameTime ) : void
gameTime GameTime The GameTime.
Résultat void