Poprawka
This commit is contained in:
parent
9b4d4f715d
commit
36baca2aa3
@ -36,15 +36,6 @@ namespace Logic
|
||||
StartCoroutine(HandleCustomerSpawn(customerSpawnTime));
|
||||
}
|
||||
|
||||
public void ClearTables()
|
||||
{
|
||||
foreach (CustomerTable table in customerTables)
|
||||
{
|
||||
Destroy(table.gameObject);
|
||||
}
|
||||
customerTables.Clear();
|
||||
}
|
||||
|
||||
public void SpawnNewTable(int posX, int posZ, int posY = 0)
|
||||
{
|
||||
var itemObject = Instantiate(tablePrefab, mapGameObject.transform);
|
||||
|
@ -75,7 +75,6 @@ namespace Logic.GeneticAlgorithm
|
||||
{
|
||||
while (true)
|
||||
{
|
||||
CustomerTableManager.Instance.ClearTables();
|
||||
foreach (NodeGen gene in genes)
|
||||
{
|
||||
Debug.Log($"X = {gene.PosX}, Y = {gene.PosY}");
|
||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user