mirror of https://github.com/deavmi/eventy.git
Cleaned up
This commit is contained in:
parent
28d64f799e
commit
6392c92349
|
@ -3,8 +3,6 @@ module eventy.event;
|
||||||
/**
|
/**
|
||||||
* Event
|
* Event
|
||||||
*
|
*
|
||||||
* FIXME: Rename this to `Trigger`
|
|
||||||
*
|
|
||||||
* An Event represents a trigger for a given signal(s)
|
* An Event represents a trigger for a given signal(s)
|
||||||
* handlers which associate with the given typeID
|
* handlers which associate with the given typeID
|
||||||
*
|
*
|
||||||
|
@ -24,4 +22,6 @@ public class Event
|
||||||
|
|
||||||
ulong id;
|
ulong id;
|
||||||
ubyte[] payload;
|
ubyte[] payload;
|
||||||
|
|
||||||
|
// TODO: Remove the requirement for the payload
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,10 @@
|
||||||
module eventy.exceptions;
|
module eventy.exceptions;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* EventyException
|
||||||
|
*
|
||||||
|
* An Eventy runtime error
|
||||||
|
*/
|
||||||
public final class EventyException : Exception
|
public final class EventyException : Exception
|
||||||
{
|
{
|
||||||
this(string message)
|
this(string message)
|
||||||
|
|
Loading…
Reference in New Issue