Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 27, 2006, 12:15:06 PM (18 years ago)
Author:
bensch
Message:

compiles again, the Playables should now be able to choose their design per team

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/proxy/src/world_entities/space_ships/turbine_hover.cc

    r9497 r9500  
    236236void TurbineHover::setBoostColor(const Color& color)
    237237{
     238  printf("color:: "), color.debug();
    238239  this->burstSystem->setColor(0.0, color);
    239240  this->burstSystem->setColor(0.2, color * 0.6);
     
    265266
    266267}
     268
     269void 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
    267278
    268279
Note: See TracChangeset for help on using the changeset viewer.