Platformer example started
This commit is contained in:
1 parent
efcfaae647
commit
9f026b76d6
325 files changed
+23540
-270
No files matched your search
@@ -0,0 +1,23 @@
|
||||
|
||||
|
||||
// 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());
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user