summaryrefslogtreecommitdiff
path: root/src/main/java/design/controller/userinput/CommandOption.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/design/controller/userinput/CommandOption.java')
-rw-r--r--src/main/java/design/controller/userinput/CommandOption.java19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/main/java/design/controller/userinput/CommandOption.java b/src/main/java/design/controller/userinput/CommandOption.java
deleted file mode 100644
index 31b63d4..0000000
--- a/src/main/java/design/controller/userinput/CommandOption.java
+++ /dev/null
@@ -1,19 +0,0 @@
-package design.controller.userinput;
-
-public class CommandOption {
- Action action;
- String name;
-
- public CommandOption(Action action, String name) {
- this.action = action;
- this.name = name;
- }
-
- public String getName() {
- return name;
- }
-
- public void onCommand(String[] args) {
- action.onCommand(args);
- }
-}