1#ifndef EILE_MIT_WEILE_GAMECONTROLLER_HPP
2#define EILE_MIT_WEILE_GAMECONTROLLER_HPP
3#include "windows/GameWindow.hpp"
4#include "panels/ConnectionPanel.hpp"
5#include "panels/MainGamePanel.hpp"
6#include "network/ResponseListenerThread.hpp"
7#include "common/gameState/GameState.hpp"
9#include "common/gameState/board/Figure.hpp"
10#include "common/gameState/board/Dice.hpp"
43 static void ShowError(
const std::string& title,
const std::string& message);
44 static void ShowStatus(
const std::string& message);
Panel for entering connection information.
Definition ConnectionPanel.hpp:16
Responsible for sending ClientRequests to the server and updating the local game state....
Definition GameController.hpp:26
static wxEvtHandler * GetMainThreadEventHandler()
Definition GameController.cpp:130
static void MoveFigure(Figure *, Space *)
Definition GameController.cpp:113
static void UpdateGameState(GameState *new_game_state)
Definition GameController.cpp:87
static void ThrowDice()
Definition GameController.cpp:125
static void Init(GameWindow *game_window)
Definition GameController.cpp:21
static ConnectionPanel * _connection_panel
Definition GameController.hpp:49
static void SkipTurn()
Definition GameController.cpp:119
static void StartGame()
Definition GameController.cpp:107
static GameWindow * _game_window
Definition GameController.hpp:48
static void ShowStatus(const std::string &message)
Definition GameController.cpp:140
static void ShowError(const std::string &title, const std::string &message)
Definition GameController.cpp:135
static GameState * _current_game_state
Definition GameController.hpp:55
static MainGamePanel * _main_game_panel
Definition GameController.hpp:51
static void ConnectToServer()
Definition GameController.cpp:41
static void ShowGameOverMessage()
Definition GameController.cpp:144
static Player * _me
Definition GameController.hpp:54
Holds the state of one game.
Definition GameState.hpp:22
Main window of the game client.
Definition GameWindow.hpp:14
Panel for displaying the main game.
Definition MainGamePanel.hpp:19
Holds all relevant information of a player.
Definition Player.hpp:27
Abstract Base Class. Represents a space on the board.
Definition Space.hpp:28