public void RemplissageBoard()
        {
            board = new Case[dimX, dimY];

            for (int i = 0; i < dimX; i++)
            {
                for (int j = 0; j < dimY; j++)
                {
                    switch (temp[i, j])
                    {
                    case "0":
                        board[i, j] = caseFactory.returnCase("libre", dimX, dimY, this);
                        break;

                    case "1":
                        board[i, j] = caseFactory.returnCase("mur", dimX, dimY, this);
                        break;

                    case "2":
                        board[i, j] = caseFactory.returnCase("sortie", dimX, dimY, this);
                        break;

                    default:
                        break;
                    }
                }
            }
        }
        private void CreerCombattants() // OK
        {
            //n => number of combattants (1% of the free cases)
            double n = Math.Round((caseLibre.Count) * 0.01);

            for (int i = 0; i < n; i++)
            {
                listeCombattants.Add((OtherCase)caseFactory.returnCase("combattant", labyrinthe.DimX, labyrinthe.DimY, labyrinthe));
            }
        }