| | |
| | | using Assets.Scripts.Helpers; |
| | | using System; |
| | | using System.Collections; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using UnityEngine; |
| | |
| | | public List<DestroyedTile> destroyedTiles; |
| | | public FogOfWarData fogOfWarData; |
| | | public List<SerializedChunkData> chunkData; // New field |
| | | public SaveDataMap(List<Vector3Int> destroyedTiles, int seed, FogOfWarData fogOfWarData, Dictionary<Vector2Int, TileBase[]> chunkCache) |
| | | public SaveDataMap(int seed, List<Vector3Int> destroyedTiles, Dictionary<Vector2Int, TileBase[]> chunkCache, FogOfWarData fogOfWarData) |
| | | { |
| | | this.seed = seed; |
| | | this.destroyedTiles = new List<DestroyedTile>(); |