#ifndef SLOTS_H
#define SLOTS_H

#include <QtGui/QWidget>
#include "ui_slots.h"

struct playerStatistics {
	unsigned int totalMoney;
	unsigned int totalLosses;
	unsigned int totalWins;
	unsigned int progressiveValue;
	
};

class Slots : public QWidget
{
    Q_OBJECT

public:
    Slots(QWidget *parent = 0);
    ~Slots();
    
    struct playerStatistics playerStats;
    
private slots:
	void pullLever();
    

private:
    Ui::SlotsClass ui;
    int digits[9];
    void generateNumbers();
    void updateLCDNumbers();
    void changeAllLCDNumberColors();
    void changeLCDNumberToWinColor(int number);
    bool checkBet();
    bool checkNumPlays();
    bool checkWin();
 
};

#endif // SLOTS_H

