示例#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;
        }
示例#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);
        }
示例#3
0
 // Return true if this property replaces otherAttr property.
 public virtual bool Replaces(BaseAttrInfo otherAttr)
 {
     return(this.GetType() == otherAttr.GetType());
 }
示例#4
0
 // Return true if this property replaces otherAttr property.
 public virtual bool Replaces( BaseAttrInfo otherAttr )
 {
     return this.GetType() == otherAttr.GetType();
 }