class MAGES::SceneGraph::EndActionData::Factory

Overview

Factory for the end action. More…

class Factory: public MAGES::SceneGraph::ActionFactory
{
public:
    // methods

    virtual override bool Initialize(
        BaseActionData data,
        Action trigger,
        GraphRunner runner
    );
};

Inherited Members

public:
    // methods

    static bool InvokeInitialize(
        BaseActionData data,
        Action trigger,
        GraphRunner runner
    );

    static bool InvokeUndo(BaseActionData data);
    static void InvokeWriteDefaults(BaseActionData data);
    static BaseActionData CreateAction(System.Type actionType);
    virtual void WriteDefaults(BaseActionData data);

    virtual abstract bool Initialize(
        BaseActionData data,
        Action trigger,
        GraphRunner runner
    ) = 0;

    virtual bool Undo(BaseActionData data);

Detailed Documentation

Factory for the end action.

Methods

virtual override bool Initialize(
    BaseActionData data,
    Action trigger,
    GraphRunner runner
)

Initialize the action based on data.

Parameters:

data

The data.

trigger

Invoke this action to move to the next one.

runner

The graph runner.

Returns:

Whether (or not) the action was properly initialized.