forked from upstream/ProAntiTab
Add Priority
This commit is contained in:
1 parent
d1db66fd1a
commit
cb575353eb
1 file changed
+7
-1
@@ -6,11 +6,13 @@ import java.util.List;
|
||||
public class TinyGroup implements Serializable {
|
||||
|
||||
private final String groupName;
|
||||
private final int priority;
|
||||
private final List<String> commands;
|
||||
|
||||
public TinyGroup(String groupName, List<String> commands) {
|
||||
public TinyGroup(String groupName, int priority, List<String> commands) {
|
||||
this.groupName = groupName;
|
||||
this.commands = commands;
|
||||
this.priority = priority;
|
||||
}
|
||||
|
||||
public void add(String command) {
|
||||
@@ -26,6 +28,10 @@ public class TinyGroup implements Serializable {
|
||||
return groupName;
|
||||
}
|
||||
|
||||
public int getPriority() {
|
||||
return priority;
|
||||
}
|
||||
|
||||
public List<String> getCommands() {
|
||||
return commands;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user