@Override public MapleTreeStage next() { final int index = this.ordinal() + 1; if (index > MapleTreeStage.values().length - 1) { return this; } return MapleTreeStage.values()[index]; }
@Override public MapleTreeStage previous() { final int index = this.ordinal() - 1; if (index < 0) { return this; } return MapleTreeStage.values()[index]; }
@Override public int getMaxStage() { return MapleTreeStage.values().length - 1; }