Barotrauma Client Doc
|
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] |
Definition at line 6 of file IDamageable.cs.
AttackResult Barotrauma.IDamageable.AddDamage | ( | Character | attacker, |
Vector2 | worldPosition, | ||
Attack | attack, | ||
Vector2 | impulseDirection, | ||
float | deltaTime, | ||
bool | playSound = true |
||
) |
Implemented in Barotrauma.LevelObject, Barotrauma.DestructibleLevelWall, Barotrauma.Item, Barotrauma.Character, and Barotrauma.Structure.
|
get |
Definition at line 10 of file IDamageable.cs.
|
get |
Definition at line 8 of file IDamageable.cs.
|
get |
Definition at line 9 of file IDamageable.cs.