2 using System.Collections.Generic;
15 foreach (var elem
in element.Elements())
17 string elemName = elem.Name.LocalName;
18 if (elemName.Equals(
"success", StringComparison.InvariantCultureIgnoreCase))
22 else if (elemName.Equals(
"failure", StringComparison.InvariantCultureIgnoreCase))
43 string throwaway =
null;
96 public override void Update(
float deltaTime)
bool DetermineFinished(ref string goTo)
override IEnumerable< EventAction > GetSubActions()
override void Update(float deltaTime)
override bool IsFinished(ref string goTo)
Has the action finished.
abstract ? bool DetermineSuccess()
override bool SetGoToTarget(string goTo)
BinaryOptionAction(ScriptedEvent parentEvent, ContentXElement element)
bool SetGoToTarget(string goTo)
void Update(float deltaTime)
List< EventAction > Actions
bool IsFinished(ref string goTo)
readonly ScriptedEvent ParentEvent