using System;
using System.Collections.Generic;
using System.Text;

namespace SokobanResultSearch.BusinessEntities
{
    class Table : ITable
    {
        #region Private fields

        /// <summary>
        /// String representation of the table.
        /// </summary>
        private string _table;

        /// <summary>
        /// X dimension of the table.
        /// </summary>
        private int _dimX;

        /// <summary>
        /// Y dimension of the table.
        /// </summary>
        private int _dimY;

        #endregion

        #region  Constructors

        public Table() { }

        public Table(string table, int dimX, int dimY) 
        {
            _table = table;
            _dimX = dimX;
            _dimY = dimY;
        }

        #endregion

        #region Properties

        /// <summary>
        /// Gets or sets the table.
        /// </summary>
        public string Value
        {
            get { return _table; }
            set { _table = value; }
        }

        /// <summary>
        /// Gets or sets x dimension of the table.
        /// </summary>
        public int DimX
        {
            get { return _dimX; }
            set { _dimX = value; }
        }

        /// <summary>
        /// Gets or sets y dimension of the table.
        /// </summary>
        public int DimY
        {
            get { return _dimY; }
            set { _dimY = value; }
        }

        #endregion
    }
}
