Пример #1
0
        /// <summary>
        /// Spawns the djinn as soon as the stone is added to
        /// the world.
        /// </summary>
        /// <returns></returns>
        public override bool AddToWorld()
        {
            if (Djinn == null)
                Djinn = new PermanentDjinn(this);

            return base.AddToWorld();
        }
Пример #2
0
        /// <summary>
        /// Spawns the djinn as soon as the stone is added to
        /// the world.
        /// </summary>
        /// <returns></returns>
        public override bool AddToWorld()
        {
            if (Djinn == null)
            {
                Djinn = new PermanentDjinn(this);
            }

            return(base.AddToWorld());
        }