Exemple #1
0
        private (TileBlock, IEnumerable <GameObject>) InitializeTileBlock(int xAdj, int yAdj)
        {
            var(block, objects) = _worldGenerator.GenerateTileBlock(xAdj, yAdj);
            _storage.Save(block, objects);

            return(block, objects);
        }