using System;

namespace WorldOfPeacecraft
{
	public class Map
	{
		public Tile[,] map;

		public Map (int width, int height)
		{
			map = new Tile[width, height];
		}

		public void SetTile (Tile t)
		{
			int x = t.GetX ();
			int y = t.GetY ();
			map [x, y] = t;
		}

		public Tile[,] GetTiles ()
		{
			return map;
		}
	}
}

