C# Class WaveEngine.Components.UI.ButtonBehavior

The ButtonBehavior class.
Inheritance: FocusBehavior
ファイルを表示 Open project: WaveEngine/Components

Public Properties

Property Type Description
Animation AnimationUI

Public Methods

Method Description
ButtonBehavior ( ) : System

Initializes a new instance of the ButtonBehavior class.

Protected Methods

Method Description
DefaultValues ( ) : void

Sets default values for this instance.

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 T:WaveEngine.Framework.Component, or the T:WaveEngine.Framework.Entity owning it are not Active.

Private Methods

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

Handles the TouchPressed event of the gestures control.

Gestures_TouchReleased ( object sender, GestureEventArgs e ) : void

Handles the TouchReleased event of the gestures control.

Method Details

ButtonBehavior() public method

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

DefaultValues() protected method

Sets default values for this instance.
protected DefaultValues ( ) : void
return void

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

Update() protected method

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

Property Details

Animation public_oe property

The animation
public AnimationUI Animation
return AnimationUI