Commit a805dc94 authored by Thomas DENIS's avatar Thomas DENIS
Browse files

Ajout d'un getter (getJetons) dans HandCreature

parent d02a6a10
...@@ -37,6 +37,9 @@ public class HandCreature extends Hand { ...@@ -37,6 +37,9 @@ public class HandCreature extends Hand {
public Deck<TrackingCard> getTrackingCards(){ public Deck<TrackingCard> getTrackingCards(){
return trackingCards; return trackingCards;
} }
public Set<Jeton> getJetons(){
return jetons;
public Jeton playJeton(Jeton jeton){ public Jeton playJeton(Jeton jeton){
if(jetons.contains(jeton)){ if(jetons.contains(jeton)){
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment