java.lang.Object
it.polimi.ingsw.am13.client.view.tui.menu.MenuTUI
Menu storing all possible menu items corresponding to the is possible executable action in the current state of the game.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
request
Request to be printed before the menu
-
Constructor Details
-
Method Details
-
printMenu
public void printMenu()Prints (text) the menu -
getItem
- Parameters:
commandKey
- Command key of the menu item- Returns:
- The menu item corresponding to the given command key, or null if there is no item with that command key
-