public override void DispatchAction(GBEvent evnt, string action, GBXMLContainer actionData) { switch (action) { case "StartAnimator": Start(); break; } }
public void AddEvent(GBEvent evnt) { eventList[eventListIndexToAdd].Add(evnt); }
public void DispatchAction(GBEvent evnt, string action, GBXMLContainer actionData) { if (action.StartsWith("Process.")) { string shortAction = action.Substring("Process.".Length); switch (shortAction) { case "Finish": GBDebug.WriteLine("TODO: Finishing process"); ProcessManager.FinishActiveProcess(); break; } } }
public virtual void DispatchAction(GBEvent evnt, string action,GBXMLContainer actionData) { }
public static void AddEvent(GBEvent evnt) { if (activeProcess != null) activeProcess.AddEvent(evnt); }