Add project files.

This commit is contained in:
Sandor Szenasi
2024-09-05 19:47:35 +02:00
parent 0bf4c5bd60
commit 78859a5b2b
32 changed files with 2927 additions and 0 deletions

42
ALGAme/Jatek.cs Normal file
View File

@@ -0,0 +1,42 @@
using OE.ALGA.Engine;
namespace OE.ALGA.ALGAme
{
public class Jatek
{
readonly Terkep terkep;
public Terkep Terkep { get { return terkep; } }
readonly Backend backend;
public Backend Backend { get { return backend; } }
public Jatek()
{
backend = new Backend();
terkep = new Terkep(Param.TERKEP_SZELESSEG, Param.TERKEP_MAGASSAG);
PalyaGeneralas();
NezopontokLetrehozasa();
}
public void Start()
{
backend.Start();
}
public void Stop()
{
backend.Stop();
}
private void PalyaGeneralas()
{
terkep.LabirintusGeneralas();
}
private void NezopontokLetrehozasa()
{
backend.Megjelenites.NezopontFelvetele(terkep);
}
}
}