예제 #1
0
 public EntityAbility(EntityAbility source)
 {
     this._general      = source._general;
     this._items        = source._items;
     this._interactions = source._interactions;
     this._magic        = source._magic;
     this._ai           = source._ai;
 }
예제 #2
0
        public override bool Equals(object obj)
        {
            EntityAbility other = obj as EntityAbility;

            if (other != null)
            {
                return(this._ai == other._ai &&
                       this._general == other._general &&
                       this._interactions == other._interactions &&
                       this._items == other._items &&
                       this._magic == other._magic);
            }
            return(false);
        }