Пример #1
0
        public Boolean WillObjectCostumize(ClonedObjectBase other)
        {
            if (other == null)
                return false;

            return false; // TODO: MOAR
        }
 public virtual Single DeriveOffensiveModifier(ClonedObjectBase target)
 {
     return 1.0f;
 }
        public virtual void SetOwner(ClonedObjectBase owner)
        {
            Owner = owner;

            if (owner == null)
                return;

            Faction = owner.GetIDFaction();
            owner.SetIDFaction(Faction);

            SetBareTeamFaction(owner.GetBareTeamFaction());
        }
        public virtual void SetTargetObject(ClonedObjectBase target)
        {
            if (target != TargetObject)
            {
                if (GhostObject != null)
                    GhostObject.SetMaskBits(4UL);

                TargetObject = target;
            }
        }
 public virtual void Activate(ClonedObjectBase obj)
 {
 }