status/StatusEffect.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
public class StatusEffect : Component, IEventHandler
{
public virtual bool ShouldHandleEvent( EventType eventType )
{
return false;
}
public virtual async Task HandleEventAsync( EventType eventType )
{
await Task.Frame();
}
public virtual string GetEventIcon( EventType eventType )
{
return "";
}
public virtual string GetEventText( EventType eventType )
{
return "";
}
}