C# 클래스 FrameTrapped.Input.Models.InputItemModel

파일 보기 프로젝트 열기: jhogoforbroke/Frame-Trapped 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Buttons Input[]
Directions Input[]
PlaySound bool

공개 메소드들

메소드 설명
Deserialize ( string value ) : InputItemModel

Static definition for deserializing a string into a set of inputs.

InputItemModel ( ) : System

Initializes a new instance of the InputItemModel class.

InputItemModel ( Input inputArray ) : System

Initializes a new instance of the InputItemModel class.

InputItemModel ( InputCommandModel inputCommand ) : System

Initializes a new instance of the InputItemModel class.

ParseInput ( String str ) : Input

Parses inputs from string to an input enum.

Serialize ( ) : string

The serialize function for turning the inputs into a string.

메소드 상세

Deserialize() 공개 정적인 메소드

Static definition for deserializing a string into a set of inputs.
public static Deserialize ( string value ) : InputItemModel
value string The value to deserialize.
리턴 InputItemModel

InputItemModel() 공개 메소드

Initializes a new instance of the InputItemModel class.
public InputItemModel ( ) : System
리턴 System

InputItemModel() 공개 메소드

Initializes a new instance of the InputItemModel class.
public InputItemModel ( Input inputArray ) : System
inputArray Input
리턴 System

InputItemModel() 공개 메소드

Initializes a new instance of the InputItemModel class.
public InputItemModel ( InputCommandModel inputCommand ) : System
inputCommand InputCommandModel The input command model to use for this input.
리턴 System

ParseInput() 공개 정적인 메소드

Parses inputs from string to an input enum.
public static ParseInput ( String str ) : Input
str String The to convert.
리턴 Input

Serialize() 공개 메소드

The serialize function for turning the inputs into a string.
public Serialize ( ) : string
리턴 string

프로퍼티 상세

Buttons 공개적으로 정적으로 프로퍼티

Array that defines button inputs.
public static Input[] Buttons
리턴 Input[]

Directions 공개적으로 정적으로 프로퍼티

Array that defines directional inputs.
public static Input[] Directions
리턴 Input[]

PlaySound 공개적으로 프로퍼티

If set to true, will play a sound on the time line item being played in the time line.
public bool PlaySound
리턴 bool