class MAGES::SceneGraph::ActionCompletionConditionData¶
Overview¶
Passes if the referenced Action has been performed. More…
class ActionCompletionConditionData: public MAGES::ConditionData { public: // fields ActionReference action = new ActionReference(); // methods virtual override bool Check(); };
Inherited Members¶
public:
// enums
enum CheckResult;
// fields
bool fail = false;
bool negate = false;
bool critical = false;
string description = string.Empty;
// properties
bool IsInitialized;
// methods
void InitializeInternal(BaseActionData data);
void UndoInternal();
virtual void Initialize();
virtual void Undo();
CheckResult CheckInternal();
virtual bool Check();
Detailed Documentation¶
Passes if the referenced Action has been performed.
Methods¶
virtual override bool Check()
Performs the check and returns whether it passed or failed.
Returns:
A value indicating whether the condition is satisfied or not.