From 500fa2144514e7cb23a3072aae9c96acb4424f84 Mon Sep 17 00:00:00 2001 From: Eduardo Pedroni Date: Sun, 5 Jun 2016 21:06:09 +0200 Subject: Implemented deck class, now need to think a bit about the interface before continuing --- .../equalparts/cardbase/decks/ReferenceDeck.java | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src/eu/equalparts/cardbase/decks/ReferenceDeck.java (limited to 'src/eu/equalparts/cardbase/decks') diff --git a/src/eu/equalparts/cardbase/decks/ReferenceDeck.java b/src/eu/equalparts/cardbase/decks/ReferenceDeck.java new file mode 100644 index 0000000..8c8e227 --- /dev/null +++ b/src/eu/equalparts/cardbase/decks/ReferenceDeck.java @@ -0,0 +1,27 @@ +package eu.equalparts.cardbase.decks; + +import eu.equalparts.cardbase.cardstorage.ReferenceCardContainer; + +public class ReferenceDeck extends ReferenceCardContainer { + private String name = ""; + + public ReferenceDeck() {} + + public ReferenceDeck(String name) { + this.name = name; + } + + /** + * @return the name + */ + public String getName() { + return name; + } + + /** + * @param name the name to set + */ + public void setName(String name) { + this.name = name; + } +} -- cgit v1.2.3