src/main/java/stellics/dialog/DialogOption.java
package stellics.dialog;
public enum DialogOption {
SMART_CARGO("Request", " cargo from storages"), SMART_SHIPS("Request", " ships from storages"),
REQUEST_CARGO("Request", " cargo from storage"), REQUEST_SHIPS("Request", " ships from storage"),
TRANSFER_CARGO("Transfer", " cargo to storage"), TRANSFER_SHIPS("Transfer", " ships to storage");
private String action;
private String rest;
private DialogOption(String action, String rest) {
this.action = action;
this.rest = rest;
}
public String getAction() {
return action;
}
public String getTitle() {
return action + rest;
}
}