Wizard
Software Engineering Project - Wizard
Loading...
Searching...
No Matches
TrickEstimationPanel.h
1//
2// Created by hannah on 11/10/24.
3//
4
5#ifndef TRICKESTIMATIONPANEL_H
6#define TRICKESTIMATIONPANEL_H
7
8#include "../../common/game_state/game_state.h"
9#include "../uiElements/InputField.h"
10#include <wx/wx.h>
11#include <wx/gbsizer.h>
12
13class TrickEstimationPanel : public wxPanel{
14
15public:
16 TrickEstimationPanel(wxWindow* parent);
18 wxString getTrickEstimate();
19 void buildGameState(game_state* gameState, player* me);
20private:
21 wxSize const panelSize = wxSize(960, 680);
22 wxSize const cardSize = wxSize(70, 108);
23
24 void buildCenter(wxGridBagSizer* sizer, game_state* gameState);
25 void buildTrumpColor(wxGridBagSizer* sizer, game_state* gameState);
26 void buildHand(wxGridBagSizer* sizer, game_state* gameState, player* me);
27 void buildThisPlayer(wxGridBagSizer* sizer, game_state* gameState, player* me);
28 void buildOtherPlayers(wxGridBagSizer* sizer, game_state* gameState, int myPosition);
29
30 void buildScoreBoardButton(wxGridBagSizer* sizer, game_state* gameState);
31
32 InputField* _trickEstimateField;
33};
34
35#endif //TRICKESTIMATIONPANEL_H
Definition InputField.h:7
Definition TrickEstimationPanel.h:13
Definition game_state.h:18
Represents a player in the game.
Definition player.h:18