unity-roject-test/Assets/Scripts/Rokojori/Simulation/DialogPhase.cs

21 lines
520 B
C#
Raw Permalink Normal View History

2026-09-25 20:32:02 +00:00
using System.Threading.Tasks;
using UnityEngine;
namespace Rokojori
{
// Thin wrapper so a dialog can be one step in the turn loop. All the real
// logic lives in DialogManager/DialogProcessor - this just awaits it.
[CreateAssetMenu( menuName = "Rokojori/Simulation/Dialog Phase" )]
public class DialogPhase : GamePhase
{
public DialogBlock start = null;
public override async Task Execute( GameStateManager state, SimulationRenderer renderer )
{
await DialogManager.instance.StartDialog( start );
}
}
}