* Refactor SpeciesUI into overlay and status effects All components that update the UI will need to use PlayerAttached for cases where the Mind transfers I think. * Change overlay / status effects to use states * Change TryRemoveStatus to RemoveStatus Doesn't return a bool so not trying. Addressing PJB's feedback.
33 lines
704 B
C#
33 lines
704 B
C#
using System;
|
|
using Robust.Shared.GameObjects;
|
|
using Robust.Shared.Serialization;
|
|
|
|
namespace Content.Shared.GameObjects.Components.Mobs
|
|
{
|
|
public abstract class SharedSpeciesComponent : Component
|
|
{
|
|
public sealed override string Name => "Species";
|
|
|
|
[Serializable, NetSerializable]
|
|
public enum MobVisuals
|
|
{
|
|
RotationState
|
|
}
|
|
|
|
[Serializable, NetSerializable]
|
|
public enum MobState
|
|
{
|
|
/// <summary>
|
|
/// Mob is standing up
|
|
/// </summary>
|
|
Stand,
|
|
|
|
/// <summary>
|
|
/// Mob is laying down
|
|
/// </summary>
|
|
Down,
|
|
}
|
|
|
|
}
|
|
}
|