Exemple #1
0
 IEnumerator reset(int NumHouseP1, int NumHouseP2, bool isInitial)
 {
     hand.h = 1;
     hand.i = 0;
     hand.j = 5;
     GameSceneManager.engage = true;
     phouse [0] = NumHouseP1;
     phouse [1] = NumHouseP2;
     plays.NewGame(ref A, ref SeedsWon);
     if (isInitial == true && GameSceneManager.selection == "2 Players")
     {
         if (isLocalPlayer)
         {
             hand.movement(true);
         }
         else
         {
             hand.movement(false);
         }
     }
     else
     {
         hand.movement(true);
     }
     GameSceneManager.engage = false;
     yield return(null);
 }
 IEnumerator reset(int NumHouseP1, int NumHouseP2)
 {
     hand.h     = 1;
     hand.i     = 0;
     hand.j     = 5;
     phouse [0] = NumHouseP1;
     phouse [1] = NumHouseP2;
     engage     = true;
     plays.NewGame(ref A, ref SeedsWon);
     hand.movement(true);
     engage = false;
     yield return(null);
 }