/// <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); }
/// <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); }