39 lines
805 B
C#
39 lines
805 B
C#
|
|
|
|
// retard-generated
|
|
|
|
using Code.Infrastructure.UI;
|
|
using Code.Infrastructure.EventBus;
|
|
using Code.Infrastructure.StateMachine;
|
|
|
|
namespace Code.Example.Race.UI
|
|
{
|
|
public partial class WinScreen
|
|
{
|
|
|
|
public override void FireCreatedEvent()
|
|
{
|
|
_eventBus.RaiseEvent<IWinScreenCreatedHandle>(h => h.WinScreenCreated(this));
|
|
}
|
|
|
|
public override void FireRemovedEvent()
|
|
{
|
|
_eventBus.RaiseEvent<IWinScreenRemovedHandle>(h => h.WinScreenRemoved());
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
public interface IWinScreenCreatedHandle : IGlobalSubscriber
|
|
{
|
|
void WinScreenCreated(UIPanel panel);
|
|
}
|
|
|
|
public interface IWinScreenRemovedHandle : IGlobalSubscriber
|
|
{
|
|
void WinScreenRemoved();
|
|
}
|
|
|
|
}
|