23 lines
364 B
Java
23 lines
364 B
Java
|
public enum IlluminatorCount {
|
||
|
Ten,
|
||
|
Twenty,
|
||
|
Thirty;
|
||
|
|
||
|
public static IlluminatorCount GetIlluminatorCount(int Value)
|
||
|
{
|
||
|
switch(Value)
|
||
|
{
|
||
|
case 10:
|
||
|
return Ten;
|
||
|
|
||
|
case 20:
|
||
|
return Twenty;
|
||
|
|
||
|
case 30:
|
||
|
return Thirty;
|
||
|
|
||
|
}
|
||
|
return null;
|
||
|
}
|
||
|
}
|