C# Class WaveEngine.Components.Transitions.ColorFadeTransition

This class make an effect between two ColorFadeTransition pasing first to a specified color (white for example)
Inheritance: ScreenTransition
Afficher le fichier Open project: WaveEngine/Components Class Usage Examples

Méthodes publiques

Méthode Description
ColorFadeTransition ( System.Color transitionColor, System.TimeSpan duration ) : System

Initializes a new instance of the ColorFadeTransition class.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources

Draw ( System.TimeSpan gameTime ) : void

Draws the specified game time.

Initialize ( ) : void

Initializes this instance.

Update ( System.TimeSpan gameTime ) : void

Updates the specified game time.

Method Details

ColorFadeTransition() public méthode

Initializes a new instance of the ColorFadeTransition class.
public ColorFadeTransition ( System.Color transitionColor, System.TimeSpan duration ) : System
transitionColor System.Color The transition color.
duration System.TimeSpan The transition duration.
Résultat System

Dispose() protected méthode

Releases unmanaged and - optionally - managed resources
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
Résultat void

Draw() protected méthode

Draws the specified game time.
protected Draw ( System.TimeSpan gameTime ) : void
gameTime System.TimeSpan The game time.
Résultat void

Initialize() protected méthode

Initializes this instance.
protected Initialize ( ) : void
Résultat void

Update() protected méthode

Updates the specified game time.
protected Update ( System.TimeSpan gameTime ) : void
gameTime System.TimeSpan The game time.
Résultat void