Beispiel #1
0
 protected virtual void Update()
 {
     if (currentState != null)
     {
         ChangeStateIfNotNull(currentState.Update());
     }
 }
Beispiel #2
0
        private void Update()
        {
            currentState.Update(this);

            if (currentState.DifType != AIData.DifficultyType)
            {
                SelectState(AIData.DifficultyType);
            }
        }