Exemplo n.º 1
0
        public void ReduceBasePoint(enmPropType type, int reducePoint = 1)
        {
            PropItem <int> pi = mBasePoints.GetPropItem((int)type);

            if (pi != null)
            {
                pi.SetValue(pi.GetValue() - reducePoint);
            }
        }
Exemplo n.º 2
0
        public void AddBasePoint(enmPropType type, int addPoint = 1)
        {
            PropItem <int> pi = mBasePoints.GetPropItem((int)type);

            if (pi != null)
            {
                pi.SetValue(pi.GetValue() + addPoint);
            }
        }