示例#1
0
文件: Map.cs 项目: astr0wiz/Hex-Demo
 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>();
 }
示例#2
0
 public Layout(Orientation orientation, PointD size, PointD origin)
 {
     _orientation = orientation;
     _cellSize = size;
     _origin = origin;
 }