Skip to content

Commit 8369675

Browse files
committed
Add a lambda command
1 parent 448f87c commit 8369675

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
using System;
2+
3+
namespace InEngine.Core.Commands
4+
{
5+
public class Lambda : AbstractCommand
6+
{
7+
public Action Action { get; set; }
8+
public override void Run()
9+
{
10+
Action.Invoke();
11+
}
12+
}
13+
}

0 commit comments

Comments
 (0)