Space Walk board game
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.

49 lines
773 B

#ifndef MAINGAME_H
#define MAINGAME_H
// Each player holds 9 ships, 3 of each size
#define SHIP_SIZE 18
#define PLAYER_SIZE 2
#include <vector>
#include "gamestate.h"
class Board;
class BoardWindow;
class InfoWindow;
class Player;
class SpaceShip;
class MainGame : public GameState
MainGame(Player **player);
void initialize();
void update();
void render();
void destroy();
void phase1();
void phase2();
void nextPlayerTurn();
void calculateWinner();
std::string help;
bool phase;
bool changePhase;
unsigned char playerTurn;
char queuePlanet;
std::vector<SpaceShip *> *queue;
Player **player;
Board *board;
SpaceShip **ship;
BoardWindow *boardWindow;
InfoWindow *infoWindow;
#endif // MAINGAME_H