LADXHD/InGame/GameObjects/Base/Components/UpdateComponent.cs

19 lines
482 B
C#
Raw Normal View History

2023-12-14 22:21:22 +00:00
namespace ProjectZ.InGame.GameObjects.Base.Components
{
class UpdateComponent : Component
{
public delegate void UpdateTemplate();
public UpdateTemplate UpdateFunction;
public new static int Index = 12;
public static int Mask = 0x01 << Index;
protected UpdateComponent() { }
public UpdateComponent(UpdateTemplate updateFunction)
{
UpdateFunction = updateFunction;
}
}
}