18 lines
420 B
C#
Raw Normal View History

2022-06-27 13:02:31 +08:00
namespace LemonUI
{
/// <summary>
/// Interface for items that can be processed in an Object Pool.
/// </summary>
public interface IProcessable
{
/// <summary>
/// If this processable item is visible on the screen.
/// </summary>
bool Visible { get; set; }
/// <summary>
/// Processes the object.
/// </summary>
void Process();
}
}