Skip to content

Commit

Permalink
shorter prints
Browse files Browse the repository at this point in the history
  • Loading branch information
ericmp33 committed Sep 3, 2021
1 parent f492da9 commit 84540f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/com/labrisca/catalan/entity/Player.java
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Card topDeckCard() {

// common code for child classes
void commonThrowCard(Card card, int round) {
System.out.println("\n[!] El jugador " + name + " ha tirat -> " + Color.name((card.getName())));
System.out.println("\n[!] " + name + " ha tirat -> " + Color.name((card.getName())));

// modify card attributes
card.setThrownBy(this);
Expand Down Expand Up @@ -83,7 +83,7 @@ public void changeLastCard() {
inHandCards.remove(player7Trump);
game.getDeck().add(player7Trump);

System.out.println("\n[!] El jugador " + name + " ha canviat l'última carta");
System.out.println("\n[!] " + name + " ha canviat l'última carta");
}
}

Expand Down

0 comments on commit 84540f1

Please sign in to comment.