plansza.hpp

00001 #ifndef _plansza_hpp_
00002 #define _plansza_hpp_
00003 
00004 #include "gra.hpp"
00005 #include <string>
00006 #include <ncurses.h>
00007 
00011 class Plansza
00012 {
00013      public:
00014           Plansza ();    // Konstruktor planszy.
00015           void odswiez (const Gra &g) const; // Rysuje znaki na planszy.
00016           void tura (bool czyja) const; // Wyswietla na ekranie informacje, czyja jest teraz tura
00017           void komunikat (const std::string &kom) const;    // Wyswietla na ekranie komunikat (np. o wygranej lub remisie)
00018 };
00019 
00020 #endif
 All Klasy Funkcje