C# Class Afterglow.Input.AxisAction

Action for an axis.s
Inheritance: IAxisAction, IFluentInterface
ファイルを表示 Open project: Christof/afterglow

Public Methods

Method Description
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.

Method Details

AxisAction() public method

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

Do() public method

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

ExecuteAction() public method

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