Skip to content
Snippets Groups Projects
Commit 2fc85676 authored by Kellian Mirey's avatar Kellian Mirey
Browse files

Couleurs

parent 3ae01da2
Branches
No related tags found
No related merge requests found
......@@ -32,7 +32,7 @@ public class Enemy extends Character{
public String toString() {
return name + " LE " + characteristic.name() + " : level " + this.level;
return Terminal.RED + name + " LE " + characteristic.name() + Terminal.RESET + " : level " + Terminal.YELLOW + this.level + Terminal.RESET;
}
public Characteristics getCharacteristic() {
......
......@@ -148,8 +148,8 @@ public class Level{
// liste des attaques et défenses possibles pour le joueur
public void possibleActions() throws IOException {
Display.clearDialogBox();
System.out.println("Possible attacks are : \n \t punch, kick, double kick, supermanpunch. \"");
System.out.println("Possible defenses are : \n \t lowblock, highblock\"");
System.out.println("Possible " + Terminal.RED + "attacks" + Terminal.RESET + " are : \n \t punch, kick, double kick, supermanpunch. \"");
System.out.println("Possible " + Terminal.BLUE + "defenses" + Terminal.RESET + " are : \n \t lowblock, highblock\"");
Display.goToUserInput();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment