C# Class WaveEngine.Components.UI.FocusBehavior

Focused behavior
Inheritance: Behavior, IDisposable
Afficher le fichier Open project: WaveEngine/Components Class Usage Examples

Méthodes publiques

Свойство Type Description
CurrentFocus FocusBehavior

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode 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 méthode

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

FocusBehavior() public méthode

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

Property Details

CurrentFocus public_oe static_oe property

The current focus behavior
public static FocusBehavior,WaveEngine.Components.UI CurrentFocus
Résultat FocusBehavior