LADXHD/InGame/GameObjects/Base/Components/InteractComponent.cs
2023-12-14 17:21:22 -05:00

24 lines
642 B
C#

using ProjectZ.InGame.GameObjects.Base.CObjects;
namespace ProjectZ.InGame.GameObjects.Base.Components
{
class InteractComponent : Component
{
public new static int Index = 8;
public static int Mask = 0x01 << Index;
public bool IsActive = true;
public delegate bool InteractTemplate();
public InteractTemplate InteractFunction;
public CBox BoxInteractabel;
public InteractComponent(CBox box, InteractTemplate interactFunction)
{
BoxInteractabel = box;
InteractFunction = interactFunction;
}
}
}