- Timestamp:
- Jul 5, 2006, 10:19:58 AM (18 years ago)
- Location:
- branches/presentation/src/world_entities
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/presentation/src/world_entities/npcs/attractor_mine.cc
r9179 r9198 59 59 this->loadModel("models/ships/noxon_battle_drone.obj", .2); 60 60 61 this->setDamage(30.0f); 61 62 62 63 -
branches/presentation/src/world_entities/projectiles/projectile.cc
r9162 r9198 41 41 /* character attributes */ 42 42 this->setHealth(1.0f); 43 this->setDamage(1 00.0f); // default damage of a projectile set to 100.0 damage points43 this->setDamage(1.0f); // default damage of a projectile set to 100.0 damage points 44 44 45 45 this->explosionBuffer = NULL; -
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.