mirror of
https://github.com/Phantop/LADXHD.git
synced 2024-11-01 12:24:16 +00:00
19 lines
482 B
C#
19 lines
482 B
C#
|
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;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|