next method
Implementation
VelocityEnum next() {
if (this == VelocityEnum.x1) return VelocityEnum.x1_5;
if (this == VelocityEnum.x1_5) return VelocityEnum.x2;
return VelocityEnum.x1;
}
VelocityEnum next() {
if (this == VelocityEnum.x1) return VelocityEnum.x1_5;
if (this == VelocityEnum.x1_5) return VelocityEnum.x2;
return VelocityEnum.x1;
}