interface MAGES::IGenericInputActions

Overview

Interface for the generic actions that can be performed on the device. More…

interface IGenericInputActions
{
    // methods

    void AddActionOnPerform(Action action);
    void AddActionOnUndo(Action action);
    void AddActionOnEnableMovement(Action action);
    void AddActionOnEnableOptions(Action action);
    void AddActionOnToggleRaycastActivation(Action action);
};

// direct descendants

class InputController;

Detailed Documentation

Interface for the generic actions that can be performed on the device.

Methods

void AddActionOnPerform(Action action)

Adds an action to be called when one of the perform buttons are pressed.

Parameters:

action

The action that will be called.

void AddActionOnUndo(Action action)

Adds an action to be called when one of the undo buttons are pressed.

Parameters:

action

The action that will be called.

void AddActionOnEnableMovement(Action action)

Adds an action to be called when the enable movement button is pressed.

Parameters:

action

The action that will be called.

void AddActionOnEnableOptions(Action action)

Adds an action to be called when the enable options button is pressed.

Parameters:

action

The action that will be called.

void AddActionOnToggleRaycastActivation(Action action)

Adds an action to be called when the toggle raycast button is pressed.

Parameters:

action

The action that will be called.