Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef SAPER_PLANSZA_H
- #define SAPER_PLANSZA_H
- #include "Pole.h"
- class Plansza {
- Pole** plansza;
- int M;
- int N;
- bool koniec_gry;
- public:
- Plansza(int wysokosc, int szeroksc);
- void deployMines(int n, bool random);
- void debug_display();
- bool hasMine(int x, int y);
- int countMines(int x, int y);
- void display();
- bool reveal(int x, int y);
- ~Plansza();
- };
- #endif //SAPER_PLANSZA_H
Add Comment
Please, Sign In to add comment