farmlands/oldproject/Assets/Scripts/Model/Map.cs
Tiberiu Chibici 914ae0de0d Implemented resource manager which can load textures and levels.
Implemented script to generate Resources.g.h file linking assets to code.
Added assets from old project.
2016-11-12 14:17:00 +02:00

42 lines
918 B
C#
Executable File

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>();
}
}