using UnityEngine.Tilemaps;
using UnityEngine;
using System;

namespace GatherAndDefend.LevelEditor
{
    [Serializable]
    public class TileData
    {
        [SerializeField]
        private TileBase _tile;
        [SerializeField]
        private Vector3Int _position;

        public TileBase Tile => _tile;
        public Vector3Int Position => _position;

        public TileData(Vector3Int position, TileBase tile)
        {
            this._position = position;
            this._tile = tile;
        }
    }
}