Add health overlay and a command to toggle it (#3278)
* Add health overlay bar and a command to toggle it * Remove empty line
This commit is contained in:
@@ -18,11 +18,32 @@ namespace Content.Shared.GameObjects.Components.Mobs.State
|
||||
|
||||
(IMobState state, int threshold)? GetEarliestIncapacitatedState(int minimumDamage);
|
||||
|
||||
(IMobState state, int threshold)? GetEarliestCriticalState(int minimumDamage);
|
||||
|
||||
(IMobState state, int threshold)? GetEarliestDeadState(int minimumDamage);
|
||||
|
||||
(IMobState state, int threshold)? GetPreviousCriticalState(int maximumDamage);
|
||||
|
||||
bool TryGetEarliestIncapacitatedState(
|
||||
int minimumDamage,
|
||||
[NotNullWhen(true)] out IMobState? state,
|
||||
out int threshold);
|
||||
|
||||
bool TryGetEarliestCriticalState(
|
||||
int minimumDamage,
|
||||
[NotNullWhen(true)] out IMobState? state,
|
||||
out int threshold);
|
||||
|
||||
bool TryGetEarliestDeadState(
|
||||
int minimumDamage,
|
||||
[NotNullWhen(true)] out IMobState? state,
|
||||
out int threshold);
|
||||
|
||||
bool TryGetPreviousCriticalState(
|
||||
int maximumDamage,
|
||||
[NotNullWhen(true)] out IMobState? state,
|
||||
out int threshold);
|
||||
|
||||
void UpdateState(int damage, bool syncing = false);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user