Esempio n. 1
0
        public override object Clone()
        {
            BoundedStat clone = new BoundedStat((Stat)base.Clone());

            clone.Min = Min;
            clone.Max = Max;
            return(clone);
        }
Esempio n. 2
0
        public override bool Equals(object obj)
        {
            BoundedStat other = (BoundedStat)obj;

            return(base.Equals(obj) &&
                   other.Min == Min &&
                   other.Max == Max);
        }