getConfig static method
Implementation
static CreatureConfig getConfig(CreatureType type) {
switch (type) {
case CreatureType.jellyfish:
return jellyfish;
case CreatureType.seaTurtle:
return seaTurtle;
case CreatureType.mantaRay:
return mantaRay;
case CreatureType.seahorse:
return seahorse;
case CreatureType.starfish:
return starfish;
case CreatureType.hermitCrab:
return hermitCrab;
}
}