24 lines
629 B
C#
24 lines
629 B
C#
|
|
|
|
// retard-generated
|
|
|
|
using Code.Infrastructure.StateMachine;
|
|
|
|
namespace Code.Example.Platformer
|
|
{
|
|
public partial class PlatformerState : BaseState<Code.Infrastructure.App.AppStates, Code.Infrastructure.App.AppStateMachineContext>
|
|
{
|
|
|
|
protected override void _fireEnterState()
|
|
{
|
|
EventBus.RaiseEvent<IEnterStateHandle<Code.Example.Platformer.PlatformerState>>(h => h.EnterState());
|
|
}
|
|
|
|
protected override void _fireExitState()
|
|
{
|
|
EventBus.RaiseEvent<IExitStateHandle<Code.Example.Platformer.PlatformerState>>(h => h.ExitState());
|
|
}
|
|
|
|
}
|
|
}
|