/* Czesc modulu Interfejs deklarujaca klase odpowiedzialna za
statystyke gry
autor : Anna Doros
GRUPA 5
*/
#ifndef __STATYSTYKA_GRY_H
#define __STATYSTYKA_GRY_H
#include <qlabel.h>
#include <qfont.h>
#include <qtimer.h>
#include "stale_StatystykaGry.h"
#include "sciezki.h"
class StatystykaGry : public QWidget
{
protected:
QFont font;
QTimer timer;
/* wartosci wyswietlanych elementow */
int liczby[ILE_LICZB];
char * tekst_koncowy;
char * napisy[ILE_LICZB];
/* wyswitlane elementy */
QLabel * teksty[ILE_LICZB];
QLabel * numerki[ILE_LICZB];
QLabel * koniec;
public:
StatystykaGry(QWidget *parent=0,const char *name=0);
~StatystykaGry();
/* dodanie wartosci ile do sumy liczby punktow zdobytych w grze */
void dodajPunkty(int ile);
};
#endif