using System;
using TrueCraft.API.World;
using TrueCraft.API.Server;
namespace TrueCraft.API.AI
{
public interface ISpawnRule
{
///
/// One in every n chunks will spawn mobs (with randomness mixed in).
///
int ChunkSpawnChance { get; }
///
/// Spawns mobs on a given chunk immediately after the chunk has been generated.
///
void GenerateMobs(IChunk chunk, IEntityManager entityManager);
///
/// Spawns mobs as part of the ongoing spawn cycle.
///
void SpawnMobs(IChunk chunk, IEntityManager entityManager);
}
}