Initial commit
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
using System;
|
||||
using UnityEngine.TestTools;
|
||||
|
||||
namespace BracerLib.Events
|
||||
{
|
||||
[ExcludeFromCoverage]
|
||||
public class GameEventArgs : EventArgs
|
||||
{
|
||||
public new static GameEventArgs Empty => new GameEventArgs();
|
||||
|
||||
public object[] Args { get; }
|
||||
|
||||
public GameEventArgs(object eventArg)
|
||||
{
|
||||
Args = new[] { eventArg };
|
||||
}
|
||||
|
||||
public GameEventArgs(params object[] args)
|
||||
{
|
||||
Args = args;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user