コード例 #1
0
ファイル: PlanetMap.cs プロジェクト: charbean/StrategyClean
 public MapGenerator(GraphicsDevice device, SpriteBatch spriteBatch)
 {
     gen = new Fortune();
     graph = new VoronoiGraph();
     edges = new List<VoronoiEdge>();
     sitePolygons = new List<Polygon>();
     this.device = device;
     this.spriteBatch = spriteBatch;
 }