using Robust.Client.UserInterface;
namespace Content.Client.GameObjects.Components
{
///
/// Allows a component to provide status tooltips next to the hands interface.
///
public interface IItemStatus
{
///
/// Called to get a control that represents the status for this component.
///
///
/// The control to render as status.
///
public Control MakeControl();
///
/// Called when the item no longer needs this status (say, dropped from hand)
///
///
///
/// Useful to allow you to drop the control for the GC, if you need to.
///
///
/// Note that this may be called after a second invocation of (for example if the user switches the item between two hands).
///
///
public void DestroyControl(Control control)
{
}
}
}