public void DoSim(int nu)
    {
        ClearMap(false);
        width  = tmpSize.x;
        height = tmpSize.y;

        if (terrainMap == null)
        {
            terrainMap = new int[width, height];
            InitPos();
            objectPlacer.GenerateObjects();
        }

        for (int i = 0; i < nu; i++)
        {
            terrainMap = GenTilePos(terrainMap);
        }

        for (int x = 0; x < width; x++)
        {
            for (int y = 0; y < height; y++)
            {
                if (terrainMap[x, y] == 1)
                {
                    topMap.SetTile(new Vector3Int(-x + width / 2, -y + height / 2, 0), topTile);
                }
                botMap.SetTile(new Vector3Int(-x + width / 2, -y + height / 2, 0), botTile);
            }
        }

        GeneratePlayer();
    }