Changeset 8997 for code/branches
- Timestamp:
- Dec 18, 2011, 1:58:58 PM (13 years ago)
- Location:
- code/branches/presentation2011/src/orxonox/gametypes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2011/src/orxonox/gametypes/Mission.cc
r8980 r8997 28 28 29 29 #include "Mission.h" 30 //#include "TeamGametype.h"31 30 #include "items/Engine.h" 32 31 #include "controllers/ArtificialController.h" … … 72 71 Gametype::start(); 73 72 this->setTeams(); 74 /*for (ObjectList<Engine>::iterator it = ObjectList<Engine>::begin(); it != ObjectList<Engine>::end(); ++it) 75 it->setActive(false); // works -> @sr :*/ 73 76 74 this->gtinfo_->sendAnnounceMessage("Your mission has started!"); 77 75 } 78 79 //void Mission::addBots(unsigned int amount)80 76 81 77 void Mission::end() -
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.