Changeset 9198 in orxonox.OLD for branches/presentation/src/world_entities/space_ships
- Timestamp:
- Jul 5, 2006, 10:19:58 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/presentation/src/world_entities/space_ships/spacecraft_2d.cc
r9167 r9198 51 51 ); 52 52 53 /**54 * destructs the spacecraft_2d, deletes alocated memory55 */56 Spacecraft2D::~Spacecraft2D ()57 {58 this->setPlayer(NULL);59 delete this->toTravelHeight;60 }61 53 62 54 /** … … 89 81 if (root != NULL) 90 82 this->loadParams(root); 83 84 91 85 92 86 //weapons: … … 109 103 110 104 /** 105 * @brief destructs the spacecraft_2d, deletes alocated memory 106 */ 107 Spacecraft2D::~Spacecraft2D () 108 { 109 this->setPlayer(NULL); 110 delete this->toTravelHeight; 111 } 112 113 114 /** 111 115 * @brief initializes a Spacecraft2D 112 116 */ … … 127 131 128 132 129 this->setHealthMax(100); 130 this->setHealth(100); 133 this->setHealthMax(1000); 134 this->setHealth(1000); 135 this->setDamage(100.0f); 136 131 137 132 138
Note: See TracChangeset
for help on using the changeset viewer.