// Initialise the ResponseManager by listening to the events and creating the variables public AIResponseManager(AI.LogicBase _logicBase) { Response = new ResponseEvent(); Response.AddListener(TickManager._instance.OnResponse); ResponseChain = new List <IResponse> (); logicBase = _logicBase; TournamentManager.OnCreatureDead += AwardToken; }
void Winner(AI.LogicBase winner) { Time.timeScale = 0; UIManager._instance.Winner(winner.name); }
void SwitchPlayers() { AI.LogicBase temp1 = P1; P1 = P2; P2 = temp1; }