32 lines
1007 B
C#
Raw Normal View History

2019-06-30 13:37:59 -05:00
using System;
using System.Collections.Generic;
using System.Text;
namespace LiveRadar
{
public class MapInfo
{
public string Name { get; set; }
2019-07-08 20:21:08 -05:00
public string Alias { get; set; }
2019-06-30 13:37:59 -05:00
// distance from the edge of the minimap image
// to the "playable" area
public int Top { get; set; }
public int Bottom { get; set; }
public int Left { get; set; }
public int Right { get; set; }
// maximum coordinate values for the map
public int MaxTop { get; set; }
public int MaxBottom { get; set; }
public int MaxLeft { get; set; }
public int MaxRight { get; set; }
2019-07-05 20:53:03 -05:00
public float Rotation { get; set; }
2019-07-07 14:59:14 -05:00
public float ViewPositionRotation { get; set; }
2019-07-05 20:53:03 -05:00
public float CenterX { get; set; }
public float CenterY { get; set; }
public float Scaler { get; set; } = 1.0f;
2019-06-30 13:37:59 -05:00
public int Width => MaxLeft - MaxRight;
public int Height => MaxTop - MaxBottom;
}
}