School Commit Init
This commit is contained in:
+17
@@ -0,0 +1,17 @@
|
||||
package Views.Commands;
|
||||
|
||||
public abstract class Command {
|
||||
private String key;
|
||||
private String description;
|
||||
public Command (String key, String description) {
|
||||
this.key = key;
|
||||
this.description = description;
|
||||
}
|
||||
public abstract void execute();
|
||||
public String getKey() {
|
||||
return this.key;
|
||||
}
|
||||
public String getDescription() {
|
||||
return this.description;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user