mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-07-04 14:25:32 +02:00
23 lines
421 B
Java
23 lines
421 B
Java
package com.eu.habbo.habbohotel.navigation;
|
|
|
|
public enum ListMode {
|
|
LIST(0),
|
|
THUMBNAILS(1),
|
|
FORCED_THUNBNAILS(2);
|
|
|
|
public final int type;
|
|
|
|
ListMode(int type) {
|
|
this.type = type;
|
|
}
|
|
|
|
public static ListMode fromType(int type) {
|
|
for (ListMode m : ListMode.values()) {
|
|
if (m.type == type) {
|
|
return m;
|
|
}
|
|
}
|
|
|
|
return LIST;
|
|
}
|
|
} |