예제 #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
파일: Layout.cs 프로젝트: astr0wiz/Hex-Demo
 public Layout(Orientation orientation, PointD size, PointD origin)
 {
     _orientation = orientation;
     _cellSize = size;
     _origin = origin;
 }