C# Class WaveEngine.Components.UI.ToggleSwitchBehavior

The ToggleSwitch Behavior
Inheritance: FocusBehavior
Show file Open project: WaveEngine/Components

Public Methods

Method Description
ToggleSwitchBehavior ( ) : System

Initializes a new instance of the ToggleSwitchBehavior class.

Protected Methods

Method 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

Method Description
Gestures_TouchReleased ( object sender, GestureEventArgs e ) : void

Handles the TouchReleased event of the Gestures control.

Method Details

Initialize() protected method

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

ResolveDependencies() protected method

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

ToggleSwitchBehavior() public method

Initializes a new instance of the ToggleSwitchBehavior class.
public ToggleSwitchBehavior ( ) : System
return System

Update() protected method

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.
return void