mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-12-01 00:37:59 +01:00
15 lines
250 B
Java
15 lines
250 B
Java
package com.minelittlepony.unicopia;
|
|
|
|
public enum Availability {
|
|
DEFAULT,
|
|
COMMANDS,
|
|
NONE;
|
|
|
|
public boolean isSelectable() {
|
|
return this == DEFAULT;
|
|
}
|
|
|
|
public boolean isGrantable() {
|
|
return this != NONE;
|
|
}
|
|
}
|