servatrice/cockatrice/src/gamescene.h
Max-Wilhelm Bruker 00a2f49c94 some fixes
2009-09-08 22:45:48 +02:00

26 lines
475 B
C++

#ifndef GAMESCENE_H
#define GAMESCENE_H
#include <QGraphicsScene>
#include <QList>
class Player;
class ZoneViewLayout;
class GameScene : public QGraphicsScene {
Q_OBJECT
private:
static const int playerAreaSpacing = 5;
QList<Player *> players;
ZoneViewLayout *zvLayout;
public:
GameScene(ZoneViewLayout *_zvLayout, QObject *parent = 0);
public slots:
void addPlayer(Player *player);
void removePlayer(Player *player);
private slots:
void rearrange();
};
#endif