|
Trabalho Prático - PDS2
|
Membros públicos estáticos | |
| static void | PrintBanner () |
| Prints the banner with available commands for the system. | |
| static void | handleLoadPlayers (PlayerManager &pm) |
| Handles the loading of players from the save file. | |
| static void | handleCreatePlayer (PlayerManager &pm) |
| Handles the creation of a new player. | |
| static void | handleRemovePlayer (PlayerManager &pm) |
| Handles the removal of a player from the PlayerManager. | |
| static void | handleListPlayers (PlayerManager &pm) |
| Handles the listing of players based on user input. | |
| static void | handlePlayGame (PlayerManager &pm) |
| Handles the process of playing a game between two players. | |
|
static |
Handles the creation of a new player.
| pm | Reference to the PlayerManager instance where the new player will be added. |

|
static |
Handles the listing of players based on user input.
The user is prompted to enter:
| pm | Reference to the PlayerManager object that manages player information. |

|
static |
Handles the loading of players from the save file.
| pm | Reference to the PlayerManager instance where the players will be loaded. |

|
static |
Handles the process of playing a game between two players.
| pm | Reference to the PlayerManager object that manages the players. |
| InexistentPlayerException | if one of the players does not exist in the PlayerManager. |

|
static |
Handles the removal of a player from the PlayerManager.
| pm | Reference to the PlayerManager instance. |
