Skip to content
Snippets Groups Projects
Commit 47e2f921 authored by Mohamed Taarit's avatar Mohamed Taarit
Browse files

ajouter les differentes attaques

parent 36a55d3b
No related branches found
No related tags found
No related merge requests found
......@@ -2,9 +2,9 @@ package bitFight;
public enum Attack implements Action {
PUNCH(10, "punch"),
KICK(20),
SUPERMANPUNCH(50),
DOUBLEKICK(60)
KICK(20, "kick"),
SUPERMANPUNCH(50,"supermanpunch"),
DOUBLEKICK(60, "doublekick")
;
private int damage;
private String name;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment