Barotrauma Client
Loading...
Searching...
No Matches
Barotrauma.Level.ClusterLocation Struct Reference

Public Member Functions

 ClusterLocation (VoronoiCell cell, GraphEdge edge, bool initializeResourceList=false)
 
Parameters
initializeResourceListList is initialized only when specified, otherwise will be null

 
bool Equals (ClusterLocation anotherLocation)
 
bool Equals (VoronoiCell cell, GraphEdge edge)
 
void InitializeResources ()
 

Properties

VoronoiCell Cell [get]
 
GraphEdge Edge [get]
 
Vector2 EdgeCenter [get]
 
List< ItemResources [get]
 Can be null unless initialized in constructor.
 

Constructor & Destructor Documentation

◆ ClusterLocation()

Barotrauma.Level.ClusterLocation.ClusterLocation ( VoronoiCell cell,
GraphEdge edge,
bool initializeResourceList = false )

Parameters
initializeResourceListList is initialized only when specified, otherwise will be null

Member Function Documentation

◆ Equals() [1/2]

bool Barotrauma.Level.ClusterLocation.Equals ( ClusterLocation anotherLocation)

◆ Equals() [2/2]

bool Barotrauma.Level.ClusterLocation.Equals ( VoronoiCell cell,
GraphEdge edge )

◆ InitializeResources()

void Barotrauma.Level.ClusterLocation.InitializeResources ( )

Property Documentation

◆ Cell

VoronoiCell Barotrauma.Level.ClusterLocation.Cell
get

◆ Edge

GraphEdge Barotrauma.Level.ClusterLocation.Edge
get

◆ EdgeCenter

Vector2 Barotrauma.Level.ClusterLocation.EdgeCenter
get

◆ Resources

List<Item> Barotrauma.Level.ClusterLocation.Resources
get

Can be null unless initialized in constructor.


The documentation for this struct was generated from the following file: