LethalCompany/Lethal Company/ExportedProject/Assets/Scripts/Assembly-CSharp/DunGen/Adapters/NavMeshAdapter.cs

24 lines
493 B
C#
Raw Permalink Normal View History

2023-12-22 22:51:17 +00:00
namespace DunGen.Adapters
{
public abstract class NavMeshAdapter : BaseAdapter
{
public struct NavMeshGenerationProgress
{
public float Percentage;
public string Description;
}
public delegate void OnNavMeshGenerationProgress(NavMeshGenerationProgress progress);
public OnNavMeshGenerationProgress OnProgress;
protected override void Run(DungeonGenerator generator)
{
Generate(generator.CurrentDungeon);
}
public abstract void Generate(Dungeon dungeon);
}
}