Uses of Enum Class
modele.Combat.Action
Packages that use Combat.Action
-
Uses of Combat.Action in modele
Methods in modele that return Combat.ActionModifier and TypeMethodDescriptionstatic Combat.ActionReturns the enum constant of this class with the specified name.static Combat.Action[]Combat.Action.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in modele with parameters of type Combat.ActionModifier and TypeMethodDescriptionprivate StringCombat.executerActionJoueur(Combat.Action action) Exécute l’action choisie par le joueur (attaque, défense ou fuite).Combat.jouerTour(Combat.Action action) Joue un tour complet de combat : le joueur agit, puis le monstre (ou inversement selon la vitesse).