From 29b2c1db6776a33abc30d581ba495423f01b2bf3 Mon Sep 17 00:00:00 2001 From: Alexander Hartung Date: Sun, 30 Jan 2022 17:50:24 +0100 Subject: [PATCH] Add GeberStack --- src/main/java/solitaer/GeberStack.java | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 src/main/java/solitaer/GeberStack.java diff --git a/src/main/java/solitaer/GeberStack.java b/src/main/java/solitaer/GeberStack.java new file mode 100644 index 0000000..2696e62 --- /dev/null +++ b/src/main/java/solitaer/GeberStack.java @@ -0,0 +1,21 @@ +package solitaer; + +public class GeberStack extends BaseStack { + + private static final long serialVersionUID = 1L; + + public GeberStack(int _x, int _y) { + super(false); + super.setLocation(_x, _y); + super.setSize(IMAGE_WIDTH, STACK_HIGHT); + super.setOpaque(false); + super.setLayout(null); + } + + @Override + protected boolean cardCheck(Card _topStack, Card _playerCard) { + // TODO Auto-generated method stub + return false; + } + +}