Barotrauma Client Doc
Barotrauma.RuinGeneration.Ruin Class Reference

Public Member Functions

 Ruin (Level level, RuinGenerationParams generationParams, Location location, Point position, bool mirror=false)
 
 Ruin (Level level, RuinGenerationParams generationParams, LocationType locationType, Point position, bool mirror=false)
 
void Generate (Level level, LocationType locationType, Point position, bool mirror=false)
 
void DebugDraw (SpriteBatch spriteBatch)
 

Public Attributes

List< VoronoiCellPathCells = new List<VoronoiCell>()
 

Properties

Rectangle Area [get]
 
Submarine Submarine [get]
 

Detailed Description

Constructor & Destructor Documentation

◆ Ruin() [1/2]

Barotrauma.RuinGeneration.Ruin.Ruin ( Level  level,
RuinGenerationParams  generationParams,
Location  location,
Point  position,
bool  mirror = false 
)

◆ Ruin() [2/2]

Barotrauma.RuinGeneration.Ruin.Ruin ( Level  level,
RuinGenerationParams  generationParams,
LocationType  locationType,
Point  position,
bool  mirror = false 
)

Member Function Documentation

◆ DebugDraw()

void Barotrauma.RuinGeneration.Ruin.DebugDraw ( SpriteBatch  spriteBatch)

◆ Generate()

void Barotrauma.RuinGeneration.Ruin.Generate ( Level  level,
LocationType  locationType,
Point  position,
bool  mirror = false 
)

Member Data Documentation

◆ PathCells

List<VoronoiCell> Barotrauma.RuinGeneration.Ruin.PathCells = new List<VoronoiCell>()

Property Documentation

◆ Area

Rectangle Barotrauma.RuinGeneration.Ruin.Area
get

◆ Submarine

Submarine Barotrauma.RuinGeneration.Ruin.Submarine
get