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.
 
 

27 lines
455 B

  1. #ifndef BOARDWINDOW_H
  2. #define BOARDWINDOW_H
  3. #include "window.h"
  4. class Board;
  5. class BoardWindow : public Window
  6. {
  7. public:
  8. BoardWindow(int height, int width, Board *board);
  9. ~BoardWindow();
  10. void update();
  11. void resize();
  12. void printBlackHole(int y, int x, int planet);
  13. void printPlanet(int y, int x, int planet);
  14. void printSpaceShip(int y, int x, int planet, int width);
  15. private:
  16. int height;
  17. int width;
  18. Board *board;
  19. };
  20. #endif // BOARDWINDOW_H