コード例 #1
0
 //implements abstract circle interface: provides the circle agent with a simulator to make predictions about the future level state
 public override void ActionSimulatorUpdated(ActionSimulator updatedSimulator)
 {
     if (gameMode == 0)
     {
         singlePlayer.ActionSimulatorUpdated(updatedSimulator);
     }
     else
     {
         multiPlayer.ActionSimulatorUpdated(updatedSimulator);
     }
 }
 public override void ActionSimulatorUpdated(ActionSimulator updatedSimulator)
 {
     circleSingleplayer.ActionSimulatorUpdated(updatedSimulator);
 }