commit 56e5953db975b8f3f65db3862d347fda7bac3bdf
parent ade102a98a2cf21ae22b0a7d8cc6c16890f4c773
Author: Michael Neuper <73108749+michaelneuper@users.noreply.github.com>
Date: Fri, 7 Oct 2022 21:21:40 +0200
add hit method
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/model/Person.java b/src/model/Person.java
@@ -52,5 +52,9 @@ public abstract class Person {
public void printHand() {
System.out.println(this.name + "'s hand:\n" + this.hand + "[" + this.hand.calculateValue() + "]");
}
+
+ public void hit(Deck deck, Deck discard) {
+ // TODO
+ }
}