farmlands/oldproject/Assets/Scripts/Model/Map.cs

42 lines
918 B
C#
Raw Normal View History

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Linq;
namespace Model
{
public class Map
{
/// <summary>
/// The width of the map in tiles
/// </summary>
public int Width = 0;
/// <summary>
/// The height of the map in tiles
/// </summary>
public int Height = 0;
/// <summary>
/// The width of a tile in pixels
/// </summary>
public int TileWidth = 0;
/// <summary>
/// The height of a tile in pixels
/// </summary>
public int TileHeight = 0;
/// <summary>
/// Loaded tile sets
/// </summary>
public Dictionary<int, Tile> Tiles = new Dictionary<int, Tile>();
/// <summary>
/// Layers
/// </summary>
public List<Layer> Layers = new List<Layer>();
}
}