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.
파일 보기 프로젝트 열기: ArtemisEngine/Artemis-Engine 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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