init
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
using RPGCore.Core.Objects;
|
||||
|
||||
namespace RPGCore.ObjectModules.EventObjectModule
|
||||
{
|
||||
/// <summary>
|
||||
/// Extend this to create new type of event for <<typeparamref name="T"/>> type of object.<br/><br/>
|
||||
/// This event is called once by <see cref="EventModule"/>.<see cref="EventModule.Invoke{T}"/>:
|
||||
/// </summary>
|
||||
/// <typeparam name="T"><see cref="BaseObject"/> (or any of its children) that this event can be attached to.</typeparam>
|
||||
/// <seealso cref="BasePreventableEvent{T}"/>
|
||||
public abstract class BaseEvent<T> : BaseEvent where T : BaseObject
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <b>DO NOT EXTEND THIS</b>, use <see cref="BaseEvent{T}"/> instead!
|
||||
/// </summary>
|
||||
public abstract class BaseEvent
|
||||
{
|
||||
protected internal BaseEvent()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user