Exemple #1
0
 /// <summary>
 /// ticks the state machine with the provided delta time
 /// </summary>
 public void update(float deltaTime)
 {
     elapsedTimeInState += deltaTime;
     _currentState.reason();
     _currentState.update(deltaTime);
 }
Exemple #2
0
 /// <summary>
 /// ticks the state machine with the provided delta time
 /// </summary>
 public void update(float deltaTime)
 {
     _currentState.reason();
     _currentState.update(deltaTime);
 }