Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6444 in orxonox.OLD for trunk/src/world_entities/playable.cc


Ignore:
Timestamp:
Jan 8, 2006, 10:45:03 PM (18 years ago)
Author:
bensch
Message:

trunk: sliders get updated, as they should be

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/playable.cc

    r6443 r6444  
    5252
    5353  if (this->currentPlayer != NULL)
    54       this->currentPlayer->weaponConfigChanged();
     54    this->currentPlayer->weaponConfigChanged();
    5555}
    5656
     
    5959  this->weaponMan->removeWeapon(weapon);
    6060
     61  if (this->currentPlayer != NULL)
     62    this->currentPlayer->weaponConfigChanged();
     63}
     64
     65void Playable::nextWeaponConfig()
     66{
     67  this->weaponMan->nextWeaponConfig();
     68  if (this->currentPlayer != NULL)
     69    this->currentPlayer->weaponConfigChanged();
     70}
     71
     72void Playable::previousWeaponConfig()
     73{
     74  this->weaponMan->previousWeaponConfig();
    6175  if (this->currentPlayer != NULL)
    6276    this->currentPlayer->weaponConfigChanged();
     
    154168void  Playable::attachCamera()
    155169{
    156        State::getCamera()->setParentSoft(this);
    157        State::getCameraTarget()->setParentSoft(this);
     170  State::getCamera()->setParentSoft(this);
     171  State::getCameraTarget()->setParentSoft(this);
    158172
    159173}
     
    162176void  Playable::detachCamera()
    163177{
    164 
    165 
    166178}
Note: See TracChangeset for help on using the changeset viewer.