public override bool Execute(OALProgram OALProgram, EXEScope Scope) { bool Result = DecoratedCommand.Execute(OALProgram, Scope); if (!Result) { return(Result); } CallTextBuffer.Append(DecoratedCommand.ToCode()); return(Result); }
public IEnumerator Execute() { if (this.IsCall) { OALCall Call = ((EXECommandCall)this.DecoratedCommand).CreateOALCall(); yield return(Animation.Instance.ResolveCallFunct(Call)); } else { yield return(DecoratedCommand.Execute(OALProgram.Instance, this.SuperScope)); } Animation.Instance.IncrementBarrier(); }