Пример #1
0
 public void StartSingleplayer()
 {
     gameType = GameType.Single;
     paddleRed.InitializePaddle(0, PaddleColors.Red, true, true);
     paddleBlueAI.InitializePaddle(1, PaddleColors.Blue, false, false);
     GameController.Ball.Spawn(GameController.Instance.PaddleRed);
 }
Пример #2
0
 public void StartHotseat()
 {
     gameType = GameType.Hotseat;
     paddleRed.InitializePaddle(0, PaddleColors.Red, true, true);
     paddleBlue.InitializePaddle(1, PaddleColors.Blue, false, true);
     GameController.Ball.Spawn(GameController.Instance.PaddleRed);
 }