blob: 627e6fc2049cd811b1b1e2437a91dd173a675bcf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
#ifndef KL_FIELD_H
#define KL_FIELD_H
#include <tqwidget.h>
#include "base/field.h"
#include "base/inter.h"
class KGameLCDClock;
class Field : public TQWidget, public BaseField, public BaseInterface
{
TQ_OBJECT
public:
Field(TQWidget *parent);
private slots:
void scoreUpdatedSlot() { scoreUpdated(); }
void start();
void gameOver();
void settingsChanged() { BaseField::settingsChanged(); }
private:
KGameLCDClock *elapsedTime;
void pause();
KExtHighscore::Score currentScore() const;
void _start() { start(); }
void _pause() { pause(); }
bool _isPaused() const;
};
#endif
|