Esempio n. 1
0
 public virtual void Update()
 {
     EarlyUpdate();
     actualState.EarlyUpdate();
     actualState.HandleInput();
     actualState.Update();
     if (stateRequests.Count != 0)
     {
         CreateState(stateRequests.Dequeue());
         stateRequests.Clear();
     }
 }
Esempio n. 2
0
 public void HandleInput(string input)
 {
     _state.HandleInput(this, input);
 }
Esempio n. 3
0
 public void HandleInput(KeyEventArgs e)
 {
     objectState.HandleInput(this, e);
 }