You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#ifndef _MAIN_WIN_H
|
|
|
|
#define _MAIN_WIN_H
|
|
|
|
|
|
|
|
#include <tdemainwindow.h>
|
|
|
|
|
|
|
|
#include "gameboard.h"
|
|
|
|
|
|
|
|
class ConquestMap;
|
|
|
|
class PlanetStatusTable;
|
|
|
|
|
|
|
|
class MainWindow : public TDEMainWindow
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
MainWindow();
|
|
|
|
~MainWindow();
|
|
|
|
|
|
|
|
protected:
|
|
|
|
void setupTDEAction();
|
|
|
|
void setupGameBoard();
|
|
|
|
|
|
|
|
private:
|
|
|
|
GameBoard *gameBoard;
|
|
|
|
TDEAction *endAction, *measureAction, *standingAction, *fleetAction;
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
void gameStateChange( GameState );
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|