Files
RobustToolbox/Robust.Shared/GameObjects/EntityLifeStage.cs
2024-01-02 11:43:08 +11:00

39 lines
976 B
C#

namespace Robust.Shared.GameObjects
{
/// <summary>
/// The life stages of an ECS Entity.
/// </summary>
public enum EntityLifeStage : byte
{
/// <summary>
/// The entity has just been created, and needs to be initialized.
/// </summary>
PreInit = 0,
/// <summary>
/// The entity is currently being initialized.
/// </summary>
Initializing,
/// <summary>
/// The entity has been initialized.
/// </summary>
Initialized,
/// <summary>
/// The map this entity is on has been initialized, so this entity has been as well.
/// </summary>
MapInitialized,
/// <summary>
/// The entity is currently removing all of it's components and is about to be deleted.
/// </summary>
Terminating,
/// <summary>
/// The entity has been deleted.
/// </summary>
Deleted,
}
}