Changeset 9008 in orxonox.OLD for trunk/src/world_entities/space_ships
- Timestamp:
- Jul 2, 2006, 2:22:19 PM (18 years ago)
- Location:
- trunk/src/world_entities/space_ships
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/space_ships/space_ship.cc
r8708 r9008 220 220 this->burstSystem->setColor(0.5, .5,.5,.8,.8); 221 221 this->burstSystem->setColor(1.0, .8,.8,.8,.0); 222 222 223 223 registerVar( new SynchronizeableVector( &velocity, &velocity, "velocity" ) ); 224 224 registerVar( new SynchronizeableQuaternion( &mouseDir, &mouseDir, "mousedir", PERMISSION_OWNER ) ); … … 384 384 this->shiftCoor(move); 385 385 386 // PRINTF(0)("id of %s is: %i\n", this->getName(), this->getOMListNumber()); 386 387 387 388 } … … 504 505 } 505 506 506 507 508 507 void SpaceShip::destroy( ) 508 { 509 PRINTF(0)("spaceship destroy\n"); 510 } 511 512 void SpaceShip::respawn( ) 513 { 514 toList( OM_PLAYERS ); 515 } 516 517 518 519 -
trunk/src/world_entities/space_ships/space_ship.h
r7954 r9008 36 36 virtual void postSpawn(); 37 37 virtual void leftWorld(); 38 39 virtual void destroy(); 40 virtual void respawn(); 38 41 39 42 virtual void collidesWith(WorldEntity* entity, const Vector& location);
Note: See TracChangeset
for help on using the changeset viewer.