예제 #1
0
파일: Inventory.cs 프로젝트: AnonK2/planet
        public float ComputeWeight()
        {
            var weight = DbEntry.GetCombinedPropFloat("weight", m_Properties);

            if (weight == 0.0f)
            {
                weight = 0.1f;
            }
            return(m_Count * weight);
        }