protected virtual void Update() { if (currentState != null) { ChangeStateIfNotNull(currentState.Update()); } }
private void Update() { currentState.Update(this); if (currentState.DifType != AIData.DifficultyType) { SelectState(AIData.DifficultyType); } }