C# 클래스 Afterglow.Input.InputDeviceBase

Base class for input devices which stores the configuration for registered buttons.
상속: IInputDevice
파일 보기 프로젝트 열기: Christof/afterglow

공개 메소드들

메소드 설명
On ( Button button ) : IButtonState

Starts a configuration for a button press.

Update ( ) : void

Updates the input device.

보호된 메소드들

메소드 설명
CheckDownButton ( Button button ) : void

Checks whether the button which is down was registered for an action and executes the action.

CheckReleasedButton ( Button button ) : void

Checks whether the released button was pressed and was registered for an action and executes the action.

InputDeviceBase ( ) : System.Collections.Generic

Initializes a new instance of the InputDeviceBase class.

메소드 상세

CheckDownButton() 보호된 메소드

Checks whether the button which is down was registered for an action and executes the action.
protected CheckDownButton ( Button button ) : void
button Button The button.
리턴 void

CheckReleasedButton() 보호된 메소드

Checks whether the released button was pressed and was registered for an action and executes the action.
protected CheckReleasedButton ( Button button ) : void
button Button The button.
리턴 void

InputDeviceBase() 보호된 메소드

Initializes a new instance of the InputDeviceBase class.
protected InputDeviceBase ( ) : System.Collections.Generic
리턴 System.Collections.Generic

On() 공개 메소드

Starts a configuration for a button press.
public On ( Button button ) : IButtonState
button Button The button.
리턴 IButtonState

Update() 공개 추상적인 메소드

Updates the input device.
public abstract Update ( ) : void
리턴 void