Ejemplo n.º 1
0
 protected override void setBats()
 {
     playerOne = new BatKinect(game, Side.LEFT, difficulty, input);
     if (IsOnePlayer)
         bot = new AIBat(game, Side.RIGHT, difficulty, ball);
     else
         playerTwo = new BatKinect(game, Side.RIGHT, difficulty, input);
 }
Ejemplo n.º 2
0
 protected override void setBats()
 {
     bat1 = new BatKeyboard(game, Side.LEFT, difficulty, input);
     if (IsOnePlayer)
         bot = new AIBat(game, Side.RIGHT, difficulty, ball);
     else
         bat2 = new BatKeyboard(game, Side.RIGHT, difficulty, input);
 }