C# Class WaveEngine.Components.UI.ToggleSwitchBehavior

The ToggleSwitch Behavior
Inheritance: FocusBehavior
Afficher le fichier Open project: WaveEngine/Components

Méthodes publiques

Méthode Description
ToggleSwitchBehavior ( ) : System

Initializes a new instance of the ToggleSwitchBehavior class.

Méthodes protégées

Méthode Description
Initialize ( ) : void

Performs further custom initialization for this instance.

By default this method does nothing.

ResolveDependencies ( ) : void

Resolves the dependencies needed for this instance to work.

Update ( System.TimeSpan gameTime ) : void

Allows this instance to execute custom logic during its Update.

This method will not be executed if the Component, or the Entity owning it are not Active.

Private Methods

Méthode Description
Gestures_TouchReleased ( object sender, GestureEventArgs e ) : void

Handles the TouchReleased event of the Gestures control.

Method Details

Initialize() protected méthode

Performs further custom initialization for this instance.
By default this method does nothing.
protected Initialize ( ) : void
Résultat void

ResolveDependencies() protected méthode

Resolves the dependencies needed for this instance to work.
protected ResolveDependencies ( ) : void
Résultat void

ToggleSwitchBehavior() public méthode

Initializes a new instance of the ToggleSwitchBehavior class.
public ToggleSwitchBehavior ( ) : System
Résultat System

Update() protected méthode

Allows this instance to execute custom logic during its Update.
This method will not be executed if the Component, or the Entity owning it are not Active.
protected Update ( System.TimeSpan gameTime ) : void
gameTime System.TimeSpan The game time.
Résultat void