Several new methods added in Parser class
This commit is contained in:
@@ -8,9 +8,6 @@ public enum Command {
|
||||
private String commandWord;
|
||||
|
||||
|
||||
public static <T extends Enum<T>> T getEnumValue(TextIO textIO, Class<T> commands) {
|
||||
return textIO.newEnumInputReader(commands).read("What would you like to do?");
|
||||
}
|
||||
|
||||
|
||||
Command(String commandWord) {
|
||||
|
||||
Reference in New Issue
Block a user