- Timestamp:
- Dec 18, 2011, 1:58:58 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2011/src/orxonox/gametypes/TeamGametype.cc
r8996 r8997 278 278 } 279 279 280 /** 281 @brief 282 Colours a pawn depending on the team values set in XML. 283 A pawn is coloured depending on it's team set via XML. 284 If there is a controller the pawn is coloured depending on its team which also can be set via XML. 285 */ 280 286 void TeamGametype::setDefaultObjectColour(Pawn* pawn) 281 287 { … … 311 317 312 318 void TeamGametype::colourPawn(Pawn* pawn, int teamNr) 313 {// catch no-colouring-case and wrong input319 {// catch: no-colouring-case and wrong input 314 320 if(teamNr < 0 || teamNr+1 > this->teamcolours_.size() ||pawn == NULL) return; 315 321 pawn->setRadarObjectColour(this->teamcolours_[teamNr]);
Note: See TracChangeset
for help on using the changeset viewer.