if (m_nTons <= Entity.WEIGHT_LIGHT) { return Entity.WEIGHT_LIGHT; } else if (m_nTons <= Entity.WEIGHT_MEDIUM) { return Entity.WEIGHT_MEDIUM; } else if (m_nTons <= Entity.WEIGHT_HEAVY) { return Entity.WEIGHT_HEAVY; } else { return Entity.WEIGHT_ASSAULT; } }}
return EntityWeightClass.getWeightClass(m_nTons); }
    public int getWeightClass() {         if (m_nTons <= Entity.WEIGHT_LIGHT) {            return Entity.WEIGHT_LIGHT;        } else if (m_nTons <= Entity.WEIGHT_MEDIUM) {             return Entity.WEIGHT_MEDIUM;        } else if (m_nTons <= Entity.WEIGHT_HEAVY) {             return Entity.WEIGHT_HEAVY;        } else {             return Entity.WEIGHT_ASSAULT;     }}}