Changeset 7085 in orxonox.OLD for trunk/src/world_entities/space_ships
- Timestamp:
- Feb 7, 2006, 4:51:47 PM (19 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
r7056 r7085 257 257 } 258 258 259 260 void SpaceShip::reset() 261 { 262 bUp = bDown = bLeft = bRight = bAscend = bDescend = bRollL = bRollR = false; 263 264 xMouse = yMouse = 0; 265 266 this->setHealth(80); 267 this->velocity = Vector(0.0, 0.0, 0.0); 268 } 259 269 260 270 -
trunk/src/world_entities/space_ships/space_ship.h
r7056 r7085 32 32 virtual void leave(); 33 33 34 virtual void reset(); 35 34 36 virtual void postSpawn(); 35 37 virtual void leftWorld(); … … 43 45 virtual int writeBytes(const byte* data, int length, int sender); 44 46 virtual int readBytes(byte* data, int maxLength, int * reciever); 47 45 48 46 49 private:
Note: See TracChangeset
for help on using the changeset viewer.