diff --git a/fichier1/fichier1/Controllers/GameController.cs b/fichier1/fichier1/Controllers/GameController.cs index 835b920aeff5aea71555c5098045c6487ca37fb6..2c6816597d852cc0a5783673b0c350a7be3d8c8a 100644 --- a/fichier1/fichier1/Controllers/GameController.cs +++ b/fichier1/fichier1/Controllers/GameController.cs @@ -21,8 +21,7 @@ namespace fichier1.Controllers /// <returns>Un tableau contenant un string, representant un string pret a etre decoupe</returns> public string[] getMotSuivant() { - // TODO: implement - return null; + return game.getMotCourant(); } /// <summary> @@ -31,7 +30,7 @@ namespace fichier1.Controllers /// <param name="mot"></param> public void validerMot(string[] mot) { - // TODO: implement + game.validerMotCourant(mot); } /// <summary> @@ -41,8 +40,7 @@ namespace fichier1.Controllers /// <returns>un tableau de string des morceaux de mot decoupes</returns> public string[] getMot(int nb) { - // TODO: implement - return null; + return game.getMot(nb); } /// <summary> @@ -52,8 +50,7 @@ namespace fichier1.Controllers /// <returns>un tableau de string des morceaux de mot decoupes</returns> public string[] getCorrection(int nb) { - // TODO: implement - return null; + return game.getCorrection(nb); } /// <summary> @@ -62,7 +59,7 @@ namespace fichier1.Controllers /// <returns>numero du mot</returns> public int getCurrentWordNumber() { - // TODO: implement + // TODO : implement return 0; }