public HexLine AddGridLine(Site origin, Site target, int lineId, BaseGrid grid) { var line = new HexLine(origin, target, lineId, Grid); GridLines.Add(lineId, line); return(line); }
public HexLine AddGridLine(Dimension dimension, Site origin, int lineId, BaseGrid grid) { var line = new HexLine(dimension, origin, lineId, Grid); GridLines.Add(lineId, line); return(line); }