21 lines
518 B
C#
21 lines
518 B
C#
|
|
using System.Threading.Tasks;
|
||
|
|
using UnityEngine;
|
||
|
|
|
||
|
|
namespace Rokojori
|
||
|
|
{
|
||
|
|
|
||
|
|
// The only thing a GamePhase is allowed to touch Unity through. No concrete
|
||
|
|
// rendering/animation pipeline is wired up yet, so Enqueue completes
|
||
|
|
// immediately - this is a placeholder, not a working renderer.
|
||
|
|
public class SimulationRenderer : MonoBehaviour
|
||
|
|
{
|
||
|
|
public static SimulationRenderer instance => Unique<SimulationRenderer>.Get();
|
||
|
|
|
||
|
|
public virtual Task Enqueue( SimulationCommand command )
|
||
|
|
{
|
||
|
|
return Task.CompletedTask;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
}
|