Ejemplo n.º 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);
		}
Ejemplo n.º 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);
        }