C# 클래스 Afterglow.Input.AxisAction

Action for an axis.s
상속: IAxisAction, IFluentInterface
파일 보기 프로젝트 열기: Christof/afterglow

공개 메소드들

메소드 설명
AxisAction ( Axis axis ) : System

Initializes a new instance of the AxisAction class.

Do ( Action action ) : void

Sets the given action to be executed if the axis changes.

ExecuteAction ( int delta ) : void

Executes the action.

메소드 상세

AxisAction() 공개 메소드

Initializes a new instance of the AxisAction class.
public AxisAction ( Axis axis ) : System
axis Axis The axis for which an action should be created.
리턴 System

Do() 공개 메소드

Sets the given action to be executed if the axis changes.
public Do ( Action action ) : void
action Action The action.
리턴 void

ExecuteAction() 공개 메소드

Executes the action.
public ExecuteAction ( int delta ) : void
delta int The delta value for this axis.
리턴 void