24 lines
713 B
C#
24 lines
713 B
C#
using System;
|
|
using Robust.Shared.Interfaces.GameObjects;
|
|
using Robust.Shared.Serialization;
|
|
|
|
namespace Content.Shared.GameObjects.Components.Damage
|
|
{
|
|
// TODO: Fix summary
|
|
/// <summary>
|
|
/// Defines what state an <see cref="IEntity"/> with a
|
|
/// <see cref="IDamageableComponent"/> is in.
|
|
/// Not all states must be supported - for instance, the
|
|
/// <see cref="RuinableComponent"/> only supports
|
|
/// <see cref="DamageState.Alive"/> and <see cref="DamageState.Dead"/>,
|
|
/// as inanimate objects don't go into crit.
|
|
/// </summary>
|
|
[Serializable, NetSerializable]
|
|
public enum DamageState
|
|
{
|
|
Alive,
|
|
Critical,
|
|
Dead
|
|
}
|
|
}
|