C# Class Afterglow.Input.AxisAction

Action for an axis.s
Inheritance: IAxisAction, IFluentInterface
Afficher le fichier Open project: Christof/afterglow

Méthodes publiques

Méthode 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 méthode

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

Do() public méthode

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

ExecuteAction() public méthode

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