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; }