예제 #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());
        }