LethalCompany/Lethal Company/ExportedProject/Assets/Scripts/Assembly-CSharp/DunGen/Adapters/NavMeshAdapter.cs
2023-12-22 18:30:10 -05:00

23 lines
493 B
C#

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