Esempio n. 1
0
 public Map(PointU16 mapSize, Orientation orientation, PointD cellSize, PointD origin, MapShapes mapShape = MapShapes.Rectangle)
 {
     _mapSize = mapSize;
     _shape = mapShape;
     mapLayout = new Layout(orientation, cellSize, origin);
     hexes = new List<Hex>();
 }
Esempio n. 2
0
 public Layout(Orientation orientation, PointD size, PointD origin)
 {
     _orientation = orientation;
     _cellSize = size;
     _origin = origin;
 }