mirror of
https://github.com/ACEmulator/ACE
synced 2026-08-17 12:26:06 -04:00
21 lines
389 B
C#
21 lines
389 B
C#
using System;
|
|
|
|
namespace ACE.Server.Entity.Actions
|
|
{
|
|
public class ActionEventDelegate : ActionEventBase
|
|
{
|
|
public readonly Action Action;
|
|
|
|
public ActionEventDelegate(Action action)
|
|
{
|
|
Action = action;
|
|
}
|
|
|
|
public override Tuple<IActor, IAction> Act()
|
|
{
|
|
Action();
|
|
|
|
return base.Act();
|
|
}
|
|
}
|
|
}
|