remplacement void

This commit is contained in:
vSpaike 2024-11-25 15:01:58 +01:00
parent 50039d2d7f
commit bf6516fd74

View file

@ -27,8 +27,8 @@ enum EtatBateau {
class Jeu class Jeu
operations operations
init(nom1: String,nom2: String): init(nom1: String,nom2: String)
debut(): debut()
end end
class Joueur class Joueur
@ -41,7 +41,7 @@ end
class Flotte class Flotte
operations operations
ajouterBateau(bateau: Bateau): ajouterBateau(bateau: Bateau)
end end
class TypeCoup class TypeCoup
@ -51,7 +51,7 @@ end
class Plateau class Plateau
operations operations
afficherPlateau(CacherBateaux: Boolean): afficherPlateau(CacherBateaux: Boolean)
end end
class Case class Case
@ -60,7 +60,7 @@ attributes
y: Integer y: Integer
type: TypeCase type: TypeCase
operations operations
changerEtat(nouveauEtat: TypeCase): changerEtat(nouveauEtat: TypeCase)
getEtat(): TypeCase getEtat(): TypeCase
end end