public void MoveHorizontal(int dir)
 {
     if (!promptMode)
     {
         shopList.ChangeCategory(dir);
         SetupItemInfo();
     }
     else
     {
         buyPrompt.Move(dir);
     }
 }
Exemple #2
0
 public void MoveHorizontal(int dir)
 {
     if (currentMode == State.MENU)
     {
         prompt.Move(dir);
     }
     else if (currentMode == State.TAKE)
     {
         convoy.ChangeCategory(dir);
         ShowItemInfo();
     }
 }
 public bool MoveHorizontal(int dir)
 {
     if (promptMode)
     {
         restockPrompt.Move(dir);
         return(true);
     }
     else if (currentMode == MenuState.TAKE)
     {
         convoy.ChangeCategory(dir);
         return(true);
     }
     return(false);
 }