aboutsummaryrefslogtreecommitdiffstats
path: root/src/eu/equalparts/cardbase/decks
diff options
context:
space:
mode:
authorEduardo Pedroni <e.pedroni91@gmail.com>2016-06-05 21:06:09 +0200
committerEduardo Pedroni <e.pedroni91@gmail.com>2016-06-05 21:06:09 +0200
commit500fa2144514e7cb23a3072aae9c96acb4424f84 (patch)
tree1d41a16fb9517d2a360ddcd0f7bb181477ce1933 /src/eu/equalparts/cardbase/decks
parenta9c2129f36f468852f7f8d5325ab9b681aa4e6b7 (diff)
Implemented deck class, now need to think a bit about the interface before continuing
Diffstat (limited to 'src/eu/equalparts/cardbase/decks')
-rw-r--r--src/eu/equalparts/cardbase/decks/ReferenceDeck.java27
1 files changed, 27 insertions, 0 deletions
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;
+ }
+}