Assets/Scripts/BoardManager.cs
/// <summary>
/// Initial sawning presentation for the begining of the game
/// </summary>
Initial sawning presentation for the begining of the game
Initial sawning presentation for the begining of the game
public void InitialSpawning()
    {
        if (training_enable)
        {
            int index = Random.Range(0, 8);
            switch (index)
            {
                case 0:
                    PawnsSpawning();
                    break;
                case 1:
                    TowersKnightsSpawning();
                    break;
                case 2:
                    TowersQueensSpawning();
                    break;
                case 3:
                    TowersSpawning();
                    break;
                case 4:
                    QueensSpawning();
                    break;
                case 5:
                    BishopsSpawning();
                    break;
                case 6:
                    BishopsQueensSpawning();
                    break;
                case 7:
                    PawnsSpawning();
                    break;
            }
        }
        else
        {
            standardSpawn();
        }
    }
public void InitialSpawning ( ) { if ( training_enable ) { int index = Random . Range ( 0 , 8 ) ; switch ( index ) { case 0 : PawnsSpawning ( ) ; break ; case 1 : TowersKnightsSpawning ( ) ; break ; case 2 : TowersQueensSpawning ( ) ; break ; case 3 : TowersSpawning ( ) ; break ; case 4 : QueensSpawning ( ) ; break ; case 5 : BishopsSpawning ( ) ; break ; case 6 : BishopsQueensSpawning ( ) ; break ; case 7 : PawnsSpawning ( ) ; break ; } } else { standardSpawn ( ) ; } }
Initial sawning presentation for the begining of the game
Initial sawning presentation for the begining of the game