--- a/QTfrontend/frameTeam.cpp Sat Sep 16 15:15:30 2006 +0000
+++ b/QTfrontend/frameTeam.cpp Sat Sep 16 17:24:41 2006 +0000
@@ -7,7 +7,7 @@
using namespace std;
FrameTeams::FrameTeams(QWidget* parent) :
- QWidget(parent), mainLayout(this)
+ QWidget(parent), maxHedgehogsPerGame(18), mainLayout(this)
{
mainLayout.setSpacing(1);
}
@@ -36,3 +36,8 @@
QWidget* ret = it!=teamToWidget.end() ? it->second : 0;
return ret;
}
+
+bool FrameTeams::isFullTeams() const
+{
+ return overallHedgehogs==maxHedgehogsPerGame;
+}