Пример #1
0
		/// <summary>
		/// Create a new Instance of <see cref="NpcManager"/>
		/// </summary>
		public NpcManager(GameServer GameServerInstance)
		{
			if (GameServerInstance == null)
				throw new ArgumentNullException("GameServerInstance");

			this.GameServerInstance = GameServerInstance;
			
			AmbientBehaviour = new MobAmbientBehaviourManager(this.GameServerInstance.IDatabase);
		}
Пример #2
0
        /// <summary>
        /// Create a new Instance of <see cref="NpcManager"/>
        /// </summary>
        public NpcManager(GameServer GameServerInstance)
        {
            if (GameServerInstance == null)
            {
                throw new ArgumentNullException("GameServerInstance");
            }

            this.GameServerInstance = GameServerInstance;

            AmbientBehaviour = new MobAmbientBehaviourManager(this.GameServerInstance.IDatabase);
        }