Esempio n. 1
0
 public static Point GetPlanLocation(this MapCell cell, MapControl mapControl)
 {
     return(GetPlanLocation(cell, mapControl.MapHeight, mapControl.MapWidth));
 }
Esempio n. 2
0
        public static Point GetPlanLocation(this MapCell cell, int mapHeight, int mapWidth)
        {
            var grid = GetReferenceGrid(mapHeight, mapWidth);

            return(grid[cell.Id]);
        }