コード例 #1
0
 // 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;
 }
コード例 #2
0
 void Winner(AI.LogicBase winner)
 {
     Time.timeScale = 0;
     UIManager._instance.Winner(winner.name);
 }
コード例 #3
0
 void SwitchPlayers()
 {
     AI.LogicBase temp1 = P1;
     P1 = P2;
     P2 = temp1;
 }