CollisionCategory.java

package com.devcharles.piazzapanic.utility.box2d;

/**
 * Collision categories allow specifying which Box2D fixtures collide with each
 * other.
 * This enum stores the categories.
 */
public enum CollisionCategory {
    BOUNDARY((short) 0x0001), NO_SHADOWBOUNDARY((short) 0x0002), ENTITY((short) 0x0004), LIGHTS((short) 0x0010);

    private short value;

    CollisionCategory(short v) {
        this.value = v;
    }

    public short getValue() {
        return value;
    }
}