C# Class Artemis.Engine.Input.ControlIntent

Represents the intent of a controller input in a ControlScheme. This class uses the Flyweight pattern. You create instances by calling ControlIntent.GetIntent(name). If an intent instance already exists with the given name, it is returned, otherwise a new one is created and returned.
Afficher le fichier Open project: ArtemisEngine/Artemis-Engine Class Usage Examples

Méthodes publiques

Свойство Type Description
Duck ControlIntent
Exit ControlIntent
Jump ControlIntent
MoveDown ControlIntent
MoveLeft ControlIntent
MoveRight ControlIntent
MoveUp ControlIntent
Name string

Méthodes publiques

Méthode Description
GetIntent ( string name ) : ControlIntent

Get the intent with the given name if it exists, otherwise create it and return it.

Private Methods

Méthode Description
ControlIntent ( ) : System.Collections.Generic
ControlIntent ( string name ) : System.Collections.Generic

Method Details

GetIntent() public static méthode

Get the intent with the given name if it exists, otherwise create it and return it.
public static GetIntent ( string name ) : ControlIntent
name string
Résultat ControlIntent

Property Details

Duck public_oe static_oe property

public static ControlIntent,Artemis.Engine.Input Duck
Résultat ControlIntent

Exit public_oe static_oe property

public static ControlIntent,Artemis.Engine.Input Exit
Résultat ControlIntent

Jump public_oe static_oe property

public static ControlIntent,Artemis.Engine.Input Jump
Résultat ControlIntent

MoveDown public_oe static_oe property

public static ControlIntent,Artemis.Engine.Input MoveDown
Résultat ControlIntent

MoveLeft public_oe static_oe property

public static ControlIntent,Artemis.Engine.Input MoveLeft
Résultat ControlIntent

MoveRight public_oe static_oe property

public static ControlIntent,Artemis.Engine.Input MoveRight
Résultat ControlIntent

MoveUp public_oe static_oe property

public static ControlIntent,Artemis.Engine.Input MoveUp
Résultat ControlIntent

Name public_oe property

The name of this intent.
public string Name
Résultat string