Cell.cs 439 Bytes
Newer Older
Naliwe GS committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
using Assets.Scripts.Utils;
using UnityEngine;

namespace Assets.Scripts.MapGeneration
{
    public class Cell
    {
        #region Fields

        public TileType Type { get; set; }
        public Vector2 Position { get; set; }

        #endregion

        #region Ctors

17
        public Cell(uint x, uint y, TileType type)
Naliwe GS committed
18 19 20 21 22 23 24 25
        {
            Type = type;
            Position = new Vector2(x, y);
        }

        #endregion
    }
}