Barotrauma Server
Loading...
Searching...
No Matches
Barotrauma.IDamageable Interface Reference
Inheritance diagram for Barotrauma.IDamageable:
Barotrauma.Character Barotrauma.DestructibleLevelWall Barotrauma.Item Barotrauma.Item Barotrauma.LevelObject Barotrauma.Structure Barotrauma.Structure Barotrauma.AICharacter

Classes

struct  AttackEventData
 

Public Member Functions

AttackResult AddDamage (Character attacker, Vector2 worldPosition, Attack attack, Vector2 impulseDirection, float deltaTime, bool playSound=true)
 

Properties

Vector2 SimPosition [get]
 
Vector2 WorldPosition [get]
 
float Health [get]
 

Member Function Documentation

◆ AddDamage()

AttackResult Barotrauma.IDamageable.AddDamage ( Character attacker,
Vector2 worldPosition,
Attack attack,
Vector2 impulseDirection,
float deltaTime,
bool playSound = true )

Property Documentation

◆ Health

◆ SimPosition

Vector2 Barotrauma.IDamageable.SimPosition
get

◆ WorldPosition

Vector2 Barotrauma.IDamageable.WorldPosition
get

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