Changeset 6222 in orxonox.OLD for trunk/src/world_entities/space_ships/helicopter.cc
Legend:
- Unmodified
- Added
- Removed
-
trunk
-
Property
svn:ignore
set to
Makefile.in
Makefile
configure
*.kdevelop
Doxyfile
config.log
config.h
config.status
stamp-h1
autom4te.cache
aclocal.m4
-
Property
svn:ignore
set to
-
trunk/src
-
Property
svn:ignore
set to
.deps
orxonox
Makefile
Makefile.in
-
Property
svn:ignore
set to
-
trunk/src/world_entities/space_ships/helicopter.cc
r6162 r6222 95 95 96 96 this->getWeaponManager()->changeWeaponConfig(1); 97 dynamic_cast<Element2D*>(this->getWeaponManager()->getFixedTarget())->setVisibility( false); 97 98 } 98 99 … … 184 185 185 186 187 188 189 void Helicopter::enter() 190 { 191 dynamic_cast<Element2D*>(this->getWeaponManager()->getFixedTarget())->setVisibility( true); 192 193 194 } 195 196 void Helicopter::leave() 197 { 198 dynamic_cast<Element2D*>(this->getWeaponManager()->getFixedTarget())->setVisibility( false); 199 200 201 } 202 203 186 204 /** 187 205 * adds a weapon to the weapon list of the spaceship … … 324 342 if(this->getAbsDirZ().y > 0.02) this->shiftDir(Quaternion(time/5, Vector(1,0,0))); 325 343 } 326 344 327 345 if( this->bRight /* > this->getRelCoor().z*2*/) 328 346 {
Note: See TracChangeset
for help on using the changeset viewer.