equal
deleted
inserted
replaced
75 framePlaying=new FrameTeams(); |
75 framePlaying=new FrameTeams(); |
76 frameDontPlaying=new FrameTeams(); |
76 frameDontPlaying=new FrameTeams(); |
77 addScrArea(framePlaying, QColor("DarkTurquoise")); |
77 addScrArea(framePlaying, QColor("DarkTurquoise")); |
78 addScrArea(frameDontPlaying, QColor("LightGoldenrodYellow")); |
78 addScrArea(frameDontPlaying, QColor("LightGoldenrodYellow")); |
79 } |
79 } |
|
80 |
|
81 void TeamSelWidget::resetPlayingTeams() |
|
82 { |
|
83 } |
|
84 |
|
85 bool TeamSelWidget::isPlaying(HWTeam team) |
|
86 { |
|
87 return std::find(curPlayingTeams.begin(), curPlayingTeams.end(), team)!=curPlayingTeams.end(); |
|
88 } |
|
89 |
|
90 unsigned char TeamSelWidget::numHedgedogs(HWTeam team) |
|
91 { |
|
92 TeamShowWidget* tsw=dynamic_cast<TeamShowWidget*>(framePlaying->getTeamWidget(team)); |
|
93 if(!tsw) return 0; |
|
94 return tsw->getHedgehogsNum(); |
|
95 } |