refactor: delegate names updated to have no "On" prefix

This commit is contained in:
2025-03-29 21:51:51 +03:00
parent 5c3e0f6581
commit f9785462b0
30 changed files with 118 additions and 118 deletions

View File

@@ -4,7 +4,7 @@ namespace Syntriax.Engine.StateMachine;
public class StateMachine : Behaviour
{
public event OnStateChangedEventHandler? OnStateChanged = null;
public event StateChangedEventHandler? OnStateChanged = null;
private IState _state = new State();
public IState State
@@ -45,5 +45,5 @@ public class StateMachine : Behaviour
State.Update();
}
public delegate void OnStateChangedEventHandler(StateMachine sender, IState previousState, IState newState);
public delegate void StateChangedEventHandler(StateMachine sender, IState previousState, IState newState);
}