class MAGES::SceneGraph::OrActionData¶
Overview¶
Data for the Or action. More…
class OrActionData: public MAGES::BaseActionData { public: // classes class Factory; // properties List<ActionCollection> Actions; override ActionType Type; // methods virtual override List<BaseActionData> GetIncomingActions(); virtual override void RemapActions(Dictionary<BaseActionData, BaseActionData> map); };
Inherited Members¶
public:
// enums
enum ActionType;
enum ObjectParentType;
// properties
List<BaseActionData> NextActions;
List<BaseActionData> PrevActions;
List AttachedScripts;
Action PathEnd;
string ID;
string ActionName;
bool AdvancedMode;
Vector2 NodePosition;
ActionState State;
StepContainer Steps;
EffectDataCollection Effects;
string ActionDescription;
GameObject[] ActionGameObjects;
bool IsStartAction;
bool IsReplicated;
ActionType Type;
bool IsAudible;
// methods
override bool Equals(object other);
override int GetHashCode();
virtual List<BaseActionData> GetLinkedActions();
virtual List<BaseActionData> GetIncomingActions();
virtual void RemapActions(Dictionary<BaseActionData, BaseActionData> map);
Detailed Documentation¶
Data for the Or action.
Properties¶
List<ActionCollection> Actions
Gets the list of actions to take. For this action data, it is the list of actions, one of which may be completed.
Methods¶
virtual override List<BaseActionData> GetIncomingActions()
Gets the list of actions to take. For this action data, it is the list of actions that must be completed.
Returns:
The list of the connected actions.
virtual override void RemapActions(Dictionary<BaseActionData, BaseActionData> map)
Remap the actions to new ones, provided by a dictionary.
Parameters:
map |
The map. |