QTfrontend/frameTeam.h
changeset 150 d9e8a336195c
parent 132 2d0f404cdf05
child 153 dc10da2a73f9
--- a/QTfrontend/frameTeam.h	Sat Sep 16 15:15:30 2006 +0000
+++ b/QTfrontend/frameTeam.h	Sat Sep 16 17:24:41 2006 +0000
@@ -10,15 +10,20 @@
 {
   Q_OBJECT
 
+ friend class CHedgehogerWidget;
+
  public:
   FrameTeams(QWidget* parent=0);
   QWidget* getTeamWidget(HWTeam team);
+  bool isFullTeams() const;
 
  public slots:
   void addTeam(HWTeam team, bool willPlay);
   void removeTeam(HWTeam team);
 
  private:
+  const int maxHedgehogsPerGame;
+  int overallHedgehogs;
   QVBoxLayout mainLayout;
   typedef map<HWTeam, QWidget*> tmapTeamToWidget;
   tmapTeamToWidget teamToWidget;