Defines area in which certain creatures are spawned, up to a certain amount.
Inheritance: IDisposable
Ejemplo n.º 1
0
 /// <summary>
 /// Adds spawner to manager.
 /// </summary>
 /// <param name="spawner"></param>
 public void Add(CreatureSpawner spawner)
 {
     lock (_spawners)
         _spawners[spawner.Id] = spawner;
 }
Ejemplo n.º 2
0
		/// <summary>
		/// Adds spawner to manager.
		/// </summary>
		/// <param name="spawner"></param>
		public void Add(CreatureSpawner spawner)
		{
			lock (_spawners)
				_spawners[spawner.Id] = spawner;
		}