Example #1
0
 public void EndProc(GameProc eproc, Executable[] next)
 {
     Destroy(eproc);
     execQueue.AddRange(next);
     GameState.camCtrl.Focus(transform.parent.Find("cursor"));
     op = OP.neutral;
 }
Example #2
0
 public void StartProc(Executable exe)
 {
     proc = gameObject.AddComponent("GameProc") as GameProc;
     DungeonCharacter[] dchars = charsInPlay.ToArray();
     proc.Initialize(exe, EndProc);
     op = OP.execute;
     proc.BeginProc();
 }