Пример #1
0
            public InternalTarget(ParrotPerchDeed deed)
                : base(-1, true, TargetFlags.None)
            {
                m_Deed = deed;

                CheckLOS = false;
            }
Пример #2
0
        public override BaseAddonDeed Redeed()
        {
            ParrotPerchDeed deed = Deed as ParrotPerchDeed;

            if (deed != null)
            {
                if (m_Parrot != null)
                {
                    deed.ContainsParrot  = true;
                    deed.ParrotName      = m_Parrot.Name;
                    deed.ParrotHue       = m_Parrot.Hue;
                    deed.ParrotBirthDate = m_Parrot.BirthDate;

                    m_Parrot.Delete();
                }

                return(deed);
            }

            return(null);
        }