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