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