--- a/QTfrontend/teamselect.cpp Sun Sep 03 18:01:34 2006 +0000
+++ b/QTfrontend/teamselect.cpp Sat Sep 09 16:59:10 2006 +0000
@@ -77,3 +77,19 @@
addScrArea(framePlaying, QColor("DarkTurquoise"));
addScrArea(frameDontPlaying, QColor("LightGoldenrodYellow"));
}
+
+void TeamSelWidget::resetPlayingTeams()
+{
+}
+
+bool TeamSelWidget::isPlaying(HWTeam team)
+{
+ return std::find(curPlayingTeams.begin(), curPlayingTeams.end(), team)!=curPlayingTeams.end();
+}
+
+unsigned char TeamSelWidget::numHedgedogs(HWTeam team)
+{
+ TeamShowWidget* tsw=dynamic_cast<TeamShowWidget*>(framePlaying->getTeamWidget(team));
+ if(!tsw) return 0;
+ return tsw->getHedgehogsNum();
+}