mirror of
https://github.com/Phantop/LADXHD.git
synced 2024-11-01 04:14:22 +00:00
20 lines
421 B
C#
20 lines
421 B
C#
|
|
namespace ProjectZ.InGame.GameObjects.Base.Components.AI
|
|
{
|
|
class AiTriggerUpdate : AiTrigger
|
|
{
|
|
public delegate void UpdateFunction();
|
|
public UpdateFunction UpdateFun;
|
|
|
|
public AiTriggerUpdate(UpdateFunction update)
|
|
{
|
|
UpdateFun = update;
|
|
}
|
|
|
|
public override void Update()
|
|
{
|
|
UpdateFun?.Invoke();
|
|
}
|
|
}
|
|
}
|