using System.Collections.Generic;
using Newtonsoft.Json;

namespace Interop
{
    public class GameInfo
    {
        [JsonProperty(PropertyName = "id")]
        public int PlayerId;

        [JsonProperty(PropertyName = "map")]
        public MapInfo MapInfo;
    }

    public class MapInfo
    {
        [JsonProperty(PropertyName = "tile_width")] public int TileWidth;

        [JsonProperty(PropertyName = "tile_height")] public int TileHeight;

        [JsonProperty(PropertyName = "tiles")] public List<List<TileType>> Tiles;

        [JsonProperty(PropertyName = "modifiers")] public List<ModifierData> Modifiers;

        [JsonProperty(PropertyName = "path")] public List<PathData> Path;
    }
}