public static byte getUnitSuperClass(byte unitType) {
        if (unitType >= Unit.INFANTRY && unitType <= Unit.PIPERUNNER) {
            return Unit.LAND_CLASS;
        }
        if (unitType >= Unit.FIGHTER && unitType <= Unit.BLACK_BOMB) {
            return Unit.AIR_CLASS;
        }
        if (unitType >= Unit.BATTLESHIP && unitType <= Unit.CARRIER) {
            return Unit.SEA_CLASS;
        }
        //Also applicable (but not yet) for buildings
        if (unitType == Unit.OOZIUM || unitType == Unit.BUILDING) {
            return Unit.LAND_CLASS;
        }
        return -1;
    }