Exemple #1
0
        public override bool Replaces( BaseAttrInfo otherAttr )
        {
            Type otherType = otherAttr.GetType();

            foreach ( Type type in Imbuing.HitSpellTypes )
            {
                if ( otherType == type )
                    return true;
            }

            return false;
        }
Exemple #2
0
        public override bool Replaces(BaseAttrInfo otherAttr)
        {
            Type otherType = otherAttr.GetType();

            foreach (Type type in Imbuing.HitAreaTypes)
            {
                if (otherType == type)
                {
                    return(true);
                }
            }

            return(false);
        }
Exemple #3
0
 // Return true if this property replaces otherAttr property.
 public virtual bool Replaces(BaseAttrInfo otherAttr)
 {
     return(this.GetType() == otherAttr.GetType());
 }
Exemple #4
0
 // Return true if this property replaces otherAttr property.
 public virtual bool Replaces( BaseAttrInfo otherAttr )
 {
     return this.GetType() == otherAttr.GetType();
 }