예제 #1
0
파일: Phases.cs 프로젝트: Usatej/BadDream
 public virtual void Update()
 {
     EarlyUpdate();
     actualState.EarlyUpdate();
     actualState.HandleInput();
     actualState.Update();
     if (stateRequests.Count != 0)
     {
         CreateState(stateRequests.Dequeue());
         stateRequests.Clear();
     }
 }
예제 #2
0
 void Update()
 {
     _state.Update(this);
 }
예제 #3
0
 void Update()
 {
     objectState.Update(this);
 }