Trabalho Prático - PDS2
Carregando...
Procurando...
Nenhuma entrada encontrado
exec_utils.hpp
1#ifndef EXEC_UTILS_HPP
2#define EXEC_UTILS_HPP
3
4#include <exception>
5
6#include "playerManager.hpp"
7#include "TTT.hpp"
8#include "lig4.hpp"
9#include "reversi.hpp"
10
11class ExecUtils {
12 public:
13
14 static void PrintBanner();
15
16 static void handleLoadPlayers(PlayerManager &pm);
17
18 static void handleCreatePlayer(PlayerManager &pm);
19
20 static void handleRemovePlayer(PlayerManager &pm);
21
22 static void handleListPlayers(PlayerManager &pm);
23
24 static void handlePlayGame(PlayerManager &pm);
25};
26
27#endif
Definição exec_utils.hpp:11
static void handleLoadPlayers(PlayerManager &pm)
Handles the loading of players from the save file.
Definição exec_utils.cpp:24
static void handlePlayGame(PlayerManager &pm)
Handles the process of playing a game between two players.
Definição exec_utils.cpp:148
static void handleCreatePlayer(PlayerManager &pm)
Handles the creation of a new player.
Definição exec_utils.cpp:33
static void handleListPlayers(PlayerManager &pm)
Handles the listing of players based on user input.
Definição exec_utils.cpp:103
static void PrintBanner()
Prints the banner with available commands for the system.
Definição exec_utils.cpp:6
static void handleRemovePlayer(PlayerManager &pm)
Handles the removal of a player from the PlayerManager.
Definição exec_utils.cpp:78
Definição playerManager.hpp:18