Barotrauma Server
Loading...
Searching...
No Matches
Barotrauma.LevelWall Class Reference
Inheritance diagram for Barotrauma.LevelWall:
Barotrauma.DestructibleLevelWall

Public Member Functions

 LevelWall (List< Vector2 > vertices, Color color, Level level, bool giftWrap=false, bool createBody=true)
 
 LevelWall (List< Vector2 > edgePositions, Vector2 extendAmount, Color color, Level level)
 
virtual void Update (float deltaTime)
 
bool IsPointInside (Vector2 point)
 
void Dispose ()
 

Public Attributes

float MoveSpeed
 

Protected Attributes

readonly Level level
 

Properties

List< VoronoiCellCells [get]
 
Body Body [get]
 
Vector2 MoveAmount [get, set]
 
float WallDamageOnTouch [get, set]
 
float MoveState [get, set]
 

Constructor & Destructor Documentation

◆ LevelWall() [1/2]

Barotrauma.LevelWall.LevelWall ( List< Vector2 > vertices,
Color color,
Level level,
bool giftWrap = false,
bool createBody = true )

◆ LevelWall() [2/2]

Barotrauma.LevelWall.LevelWall ( List< Vector2 > edgePositions,
Vector2 extendAmount,
Color color,
Level level )

Member Function Documentation

◆ Dispose()

void Barotrauma.LevelWall.Dispose ( )

◆ IsPointInside()

bool Barotrauma.LevelWall.IsPointInside ( Vector2 point)

◆ Update()

virtual void Barotrauma.LevelWall.Update ( float deltaTime)
virtual

Member Data Documentation

◆ level

readonly Level Barotrauma.LevelWall.level
protected

◆ MoveSpeed

float Barotrauma.LevelWall.MoveSpeed

Property Documentation

◆ Body

Body Barotrauma.LevelWall.Body
get

◆ Cells

List<VoronoiCell> Barotrauma.LevelWall.Cells
get

◆ MoveAmount

Vector2 Barotrauma.LevelWall.MoveAmount
getset

◆ MoveState

float Barotrauma.LevelWall.MoveState
getset

◆ WallDamageOnTouch

float Barotrauma.LevelWall.WallDamageOnTouch
getset

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