C# Class WaveEngine.Components.UI.FocusBehavior

Focused behavior
Inheritance: Behavior, IDisposable
Mostrar archivo Open project: WaveEngine/Components Class Usage Examples

Public Properties

Property Type Description
CurrentFocus FocusBehavior

Public Methods

Method Description
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

FocusBehavior ( string name ) : System

Initializes a new instance of the FocusBehavior class.

Protected Methods

Method Description
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.

Method Details

Dispose() public method

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
return void

FocusBehavior() public method

Initializes a new instance of the FocusBehavior class.
public FocusBehavior ( string name ) : System
name string The name.
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

Property Details

CurrentFocus public_oe static_oe property

The current focus behavior
public static FocusBehavior,WaveEngine.Components.UI CurrentFocus
return FocusBehavior