Changeset 10023 in orxonox.OLD for branches/playability/src/world_entities/player.cc
- Timestamp:
- Dec 6, 2006, 4:47:06 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/playability/src/world_entities/player.cc
r9975 r10023 16 16 #include "player.h" 17 17 #include "playable.h" 18 #include "space_ships/space_ship.h" 18 19 19 20 #include "event_handler.h" … … 74 75 this->playable = playable; 75 76 this->_hud.setEnergyWidget(this->playable->getHealthWidget()); 76 this->_hud.setWeaponManager(&this->playable->getWeaponManager()); 77 /*if (dynamic_cast<SpaceShip*>(this->playable)) 78 this->_hud.setWeaponManager(&this->playable->getWeaponManager(), &dynamic_cast<SpaceShip*>(this->playable)->getWeaponManagerSecondary()); 79 else*/ 80 this->_hud.setWeaponManager(&this->playable->getWeaponManager()); 77 81 78 82 this->playable->setPlayer(this);
Note: See TracChangeset
for help on using the changeset viewer.