public bool MoveVertical(int dir) { if (currentMode == MenuState.MENU) { menuButtons.Move(dir); return(true); } else if (currentMode == MenuState.CHARACTER) { characters.Move(dir); ShowCharInfo(); return(true); } else if (currentMode == MenuState.RECHARGE) { itemList.Move(dir); ShowItemInfo(); return(true); } else if (currentMode == MenuState.TAKE) { convoy.Move(dir); ShowCharInfo(); return(true); } else if (currentMode == MenuState.STORE) { itemList.Move(dir); ShowItemInfo(); return(true); } return(false); }
public void MoveVertical(int dir) { if (promptMode) { return; } shopList.Move(dir); SetupItemInfo(); }
public void MoveSelection(int dir) { if (currentMode == State.CHAR) { charList.Move(dir); ShowCharInfo(); } else if (currentMode == State.TAKE) { convoy.Move(dir); ShowItemInfo(); } else if (currentMode == State.STORE) { itemList.Move(dir); ShowItemInfo(); } }