using Content.Shared.FixedPoint;
using Robust.Shared.GameStates;
namespace Content.Shared.Polymorph.Components;
///
/// Added to a player when they use a chameleon projector.
/// Handles making them invisible and revealing when damaged enough or switching hands.
///
[RegisterComponent, NetworkedComponent]
public sealed partial class ChameleonDisguisedComponent : Component
{
///
/// How much damage can be taken before revealing automatically.
///
[DataField]
public FixedPoint2 Integrity = FixedPoint2.Zero;
///
/// The disguise entity parented to the player.
///
[DataField]
public EntityUid Disguise;
///
/// For client, whether the user's sprite was previously visible or not.
///
[DataField]
public bool WasVisible;
}