C# Класс 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.
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
Duck ControlIntent
Exit ControlIntent
Jump ControlIntent
MoveDown ControlIntent
MoveLeft ControlIntent
MoveRight ControlIntent
MoveUp ControlIntent
Name string

Открытые методы

Метод Описание
GetIntent ( string name ) : ControlIntent

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

Приватные методы

Метод Описание
ControlIntent ( ) : System.Collections.Generic
ControlIntent ( string name ) : System.Collections.Generic

Описание методов

GetIntent() публичный статический Метод

Get the intent with the given name if it exists, otherwise create it and return it.
public static GetIntent ( string name ) : ControlIntent
name string
Результат ControlIntent

Описание свойств

Duck публичное статическое свойство

public static ControlIntent,Artemis.Engine.Input Duck
Результат ControlIntent

Exit публичное статическое свойство

public static ControlIntent,Artemis.Engine.Input Exit
Результат ControlIntent

Jump публичное статическое свойство

public static ControlIntent,Artemis.Engine.Input Jump
Результат ControlIntent

MoveDown публичное статическое свойство

public static ControlIntent,Artemis.Engine.Input MoveDown
Результат ControlIntent

MoveLeft публичное статическое свойство

public static ControlIntent,Artemis.Engine.Input MoveLeft
Результат ControlIntent

MoveRight публичное статическое свойство

public static ControlIntent,Artemis.Engine.Input MoveRight
Результат ControlIntent

MoveUp публичное статическое свойство

public static ControlIntent,Artemis.Engine.Input MoveUp
Результат ControlIntent

Name публичное свойство

The name of this intent.
public string Name
Результат string