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

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

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