This commit is contained in:
Lendaia Mirai
2025-10-16 14:48:13 +02:00
parent b8f1853b1a
commit 793b379c48
57 changed files with 5491 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
namespace OE.ALGA.Engine
{
public class Backend
{
public Kepernyo Megjelenites { get; } = new Kepernyo();
public BillentyuzetKezelo Bemenet { get; } = new BillentyuzetKezelo();
public OrajelGenerator Orajel { get; } = new OrajelGenerator();
public Backend()
{
Orajel.OrajelFogadoFelvetele(Bemenet);
Orajel.OrajelFogadoFelvetele(Megjelenites);
}
bool kilepes = false;
public void Start()
{
Orajel.Start();
while (!kilepes)
{
Thread.Sleep(1000);
}
}
public void Stop()
{
Orajel.Stop();
kilepes = true;
}
}
}