diff options
author | Eduardo Pedroni <e.pedroni91@gmail.com> | 2015-06-11 16:57:42 +0200 |
---|---|---|
committer | Eduardo Pedroni <e.pedroni91@gmail.com> | 2015-06-11 16:57:42 +0200 |
commit | 27be2dd797fc7087c5e362c22c1f30fc377ea0e9 (patch) | |
tree | 93b0b5360788f1df3b257c294dbe08ffcf291dc2 /src/eu/equalparts/cardbase/standalone | |
parent | 56dc0db523156c6ff77d9212983c51b531250733 (diff) |
Streamlined Card class, cards are now stored in a hashmap, had to write a method to parse full card set json
Diffstat (limited to 'src/eu/equalparts/cardbase/standalone')
-rw-r--r-- | src/eu/equalparts/cardbase/standalone/CardbaseCLI.java | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/eu/equalparts/cardbase/standalone/CardbaseCLI.java b/src/eu/equalparts/cardbase/standalone/CardbaseCLI.java index f491f6c..be3616a 100644 --- a/src/eu/equalparts/cardbase/standalone/CardbaseCLI.java +++ b/src/eu/equalparts/cardbase/standalone/CardbaseCLI.java @@ -177,8 +177,6 @@ public class CardbaseCLI { } else if (command.equalsIgnoreCase("remove") || command.equalsIgnoreCase("rm")) { remove(args); - } else if (command.equalsIgnoreCase("sort")) { - sort(args); } else { add(command, args); } @@ -411,15 +409,6 @@ public class CardbaseCLI { } /** - * Sort the cardbase by a specified parameter. - * - * @param args the ordering to sort by. - */ - public void sort(String[] args) { - cardbase.sortByName(); - } - - /** * Add the specified count of the specified card * to the cardbase. * |