Example #1
0
 public void Update()
 {
     if (m_currentScreen != null)
     {
         m_currentScreen.Update();
     }
 }
 public override void Update(UIContext uiContext)
 {
     base.Update(uiContext);
     if (editMode)
     {
         editingItem.Update(uiContext);
     }
 }
Example #3
0
 public override void Update(UIContext uiContext)
 {
     // TODO: make this feel more natural...
     // maybe register all?
     // TODO: didn't we want to maybe add listeners only once? though that would be an issues for our single-instanced things
     if (currentFocus != defaultFocus)
     {
         currentFocus.Update(uiContext);
     }
 }