// 
// Decompiled by Procyon v0.6.0
// 

package com.hypixel.hytale.protocol;

import com.hypixel.hytale.protocol.io.ProtocolException;

public enum DebugShape
{
    Sphere(0), 
    Cylinder(1), 
    Cone(2), 
    Cube(3), 
    Frustum(4);
    
    public static final DebugShape[] VALUES;
    private final int value;
    
    private DebugShape(final int value) {
        this.value = value;
    }
    
    public int getValue() {
        return this.value;
    }
    
    public static DebugShape fromValue(final int value) {
        if (value >= 0 && value < DebugShape.VALUES.length) {
            return DebugShape.VALUES[value];
        }
        throw ProtocolException.invalidEnumValue("DebugShape", value);
    }
    
    static {
        VALUES = values();
    }
}
