2 using Microsoft.Xna.Framework;
4 using System.Collections.Generic;
13 public List<VoronoiCell>
PathCells =
new List<VoronoiCell>();
28 : this(level, generationParams, location.Type, position, mirror)
34 this.generationParams = generationParams;
35 Generate(level, locationType, position, mirror);
40 Submarine = OutpostGenerator.Generate(generationParams, locationType, onlyEntrance:
false);
56 Area =
new Rectangle(worldBorders.X, worldBorders.Y - worldBorders.Height, worldBorders.Width, worldBorders.Height);
59 int interestingPosCount = 0;
64 interestingPosCount++;
67 if (interestingPosCount == 0)
virtual Vector2 WorldPosition
List< VoronoiCell > PathCells
Ruin(Level level, RuinGenerationParams generationParams, Location location, Point position, bool mirror=false)
void Generate(Level level, LocationType locationType, Point position, bool mirror=false)
Ruin(Level level, RuinGenerationParams generationParams, LocationType locationType, Point position, bool mirror=false)
override Vector2? WorldPosition
void FlipX(List< Submarine > parents=null)
Rectangle? Borders
Extents of the solid items/structures (ones with a physics body) and hulls
void SetPosition(Vector2 position, List< Submarine > checkd=null, bool forceUndockFromStaticSubmarines=true)
static List< WayPoint > WayPointList