Changeset 6871 in orxonox.OLD for trunk/src/world_entities/space_ships/hover.cc
- Timestamp:
- Jan 30, 2006, 9:39:58 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/space_ships/hover.cc
r6824 r6871 39 39 */ 40 40 Hover::~Hover () 41 {} 41 { 42 43 } 42 44 43 45 /** … … 185 187 } 186 188 187 void Hover::attachCamera() 188 { 189 190 void Hover::enter() 191 { 192 dynamic_cast<Element2D*>(this->getWeaponManager()->getFixedTarget())->setVisibility( true); 193 189 194 State::getCamera()->setParentSoft(&this->cameraNode); 190 195 State::getCamera()->setRelCoorSoft(-10, 0,0); 191 196 State::getCameraTarget()->setParentSoft(&this->cameraNode); 192 }193 194 195 void Hover::enter()196 {197 dynamic_cast<Element2D*>(this->getWeaponManager()->getFixedTarget())->setVisibility( true);198 this->attachCamera();199 200 201 197 } 202 198
Note: See TracChangeset
for help on using the changeset viewer.