Changeset 9500 in orxonox.OLD for branches/proxy/src/world_entities/space_ships
- Timestamp:
- Jul 27, 2006, 12:15:06 PM (19 years ago)
- Location:
- branches/proxy/src/world_entities/space_ships
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/world_entities/space_ships/turbine_hover.cc
r9497 r9500 236 236 void TurbineHover::setBoostColor(const Color& color) 237 237 { 238 printf("color:: "), color.debug(); 238 239 this->burstSystem->setColor(0.0, color); 239 240 this->burstSystem->setColor(0.2, color * 0.6); … … 265 266 266 267 } 268 269 void TurbineHover::setTeam(int teamID) 270 { 271 printf("::::::::::::::::: TEAM ::: %d\n", teamID); 272 if (teamID == 0) 273 this->setBoostColor(Color::blue); 274 else if (teamID == 1) 275 this->setBoostColor(Color::red); 276 } 277 267 278 268 279 -
branches/proxy/src/world_entities/space_ships/turbine_hover.h
r9497 r9500 29 29 virtual void enter(); 30 30 virtual void leave(); 31 32 virtual void setTeam(int teamID); 31 33 32 34 virtual void postSpawn();
Note: See TracChangeset
for help on using the changeset viewer.