First commit

This commit is contained in:
2025-10-15 00:07:35 -05:00
commit 5e354c05be
69 changed files with 4598 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
class TYTD.Event {
private _events = [];
public operator+(e)
{
if (!_events.Contains(e))
{
this._events.Add(e);
}
return this;
}
public operator-(e)
{
this._events.Remove(e);
return this;
}
public Invoke($$args)
{
each(var e : this._events)
{
e.Call(args);
}
}
}