Ejemplo n.º 1
0
 private void init(AI ai1, AI ai2)
 {
     spades    = new Spades();
     this.aiA1 = ai1.copy();
     this.aiA2 = ai1.copy();
     this.aiB1 = ai2.copy();
     this.aiB2 = ai2.copy();
     aiA1.setPlayerIndex(0);
     aiA2.setPlayerIndex(2);
     aiB1.setPlayerIndex(1);
     aiB2.setPlayerIndex(3);
 }
Ejemplo n.º 2
0
 private void initVariables()
 {
     spades = new Spades();
     team1  = spades.team1;
     team2  = spades.team2;
 }