Платформер враги, инфраструктура, герой
This commit is contained in:
1 parent
28125eb382
commit
93819c1dd3
61 files changed
+1463
-423
No files matched your search
@@ -0,0 +1,38 @@
|
||||
|
||||
|
||||
// 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();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user