/// <summary>
        ///     Flags Dirty if the data is different.
        /// </summary>
        /// <param name="data"></param>
        /// <param name="indices"></param>
        public void Update(SharedGasTileOverlaySystem.GasOverlayData data, MapIndices indices)
        {
            DebugTools.Assert(InBounds(indices));
            var(offsetX, offsetY) = (indices.X - MapIndices.X,
                                     indices.Y - MapIndices.Y);

            TileData[offsetX, offsetY] = data;
        }
        public void Update(SharedGasTileOverlaySystem.GasOverlayData data, byte x, byte y)
        {
            DebugTools.Assert(x < SharedGasTileOverlaySystem.ChunkSize && y < SharedGasTileOverlaySystem.ChunkSize);

            TileData[x, y] = data;
        }