mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-07-15 10:35:32 +02:00
28 lines
449 B
Java
28 lines
449 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;
|
||
|
}
|
||
|
}
|