Barotrauma Client Doc
Barotrauma.WallSection Class Reference
Inheritance diagram for Barotrauma.WallSection:
Barotrauma.IIgnorable Barotrauma.ISpatialEntity

Public Member Functions

bool IgnoreByAI (Character character)
 
 WallSection (Rectangle rect, Structure wall, float damage=0.0f)
 

Public Attributes

Rectangle rect
 
float damage
 
Gap gap
 

Properties

Structure Wall [get]
 
Vector2 Position [get]
 
Vector2 WorldPosition [get]
 
Vector2 SimPosition [get]
 
Submarine Submarine [get]
 
Rectangle WorldRect [get]
 
bool OrderedToBeIgnored [get, set]
 
- Properties inherited from Barotrauma.IIgnorable
bool OrderedToBeIgnored [get, set]
 
- Properties inherited from Barotrauma.ISpatialEntity
Vector2 Position [get]
 
Vector2 WorldPosition [get]
 
Vector2 SimPosition [get]
 
Submarine Submarine [get]
 

Detailed Description

Constructor & Destructor Documentation

◆ WallSection()

Barotrauma.WallSection.WallSection ( Rectangle  rect,
Structure  wall,
float  damage = 0.0f 
)

Member Function Documentation

◆ IgnoreByAI()

bool Barotrauma.WallSection.IgnoreByAI ( Character  character)

Implements Barotrauma.IIgnorable.

Member Data Documentation

◆ damage

float Barotrauma.WallSection.damage

◆ gap

Gap Barotrauma.WallSection.gap

◆ rect

Rectangle Barotrauma.WallSection.rect

Property Documentation

◆ OrderedToBeIgnored

bool Barotrauma.WallSection.OrderedToBeIgnored
getset

◆ Position

Vector2 Barotrauma.WallSection.Position
get

◆ SimPosition

Vector2 Barotrauma.WallSection.SimPosition
get

◆ Submarine

Submarine Barotrauma.WallSection.Submarine
get

◆ Wall

Structure Barotrauma.WallSection.Wall
get

◆ WorldPosition

Vector2 Barotrauma.WallSection.WorldPosition
get

◆ WorldRect

Rectangle Barotrauma.WallSection.WorldRect
get