Changeset 10505 in orxonox.OLD for trunk/src/world_entities/projectiles
- Timestamp:
- Jan 30, 2007, 5:02:18 PM (18 years ago)
- Location:
- trunk/src/world_entities/projectiles
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/projectiles/hbolt.cc
r10368 r10505 59 59 this->halo->setSize(.65, .65); 60 60 this->halo->setTexture("hbolt_halo2.png"); 61 this->halo->setVisibiliy(false); 61 62 62 63 } … … 85 86 void HBolt::activate() 86 87 { 88 this->halo->setVisibiliy(true); 87 89 this->origList = this->getOMListNumber(); 88 90 this->toList(OM_ENVIRON); … … 107 109 void HBolt::deactivate() 108 110 { 111 this->halo->setVisibiliy(false); 109 112 assert (HBolt::explosionParticles != NULL); 110 113 HBolt::explosionParticles->removeEmitter(this->emitter); -
trunk/src/world_entities/projectiles/lbolt.cc
r10368 r10505 62 62 this->halo->setSize(.35, .35); 63 63 this->halo->setTexture("hbolt_halo.png"); 64 this->halo->setVisibiliy(false); 64 65 65 66 … … 89 90 void LBolt::activate() 90 91 { 92 this->halo->setVisibiliy(true); 91 93 this->origList = this->getOMListNumber(); 92 94 this->toList(OM_ENVIRON); … … 113 115 assert (LBolt::explosionParticles != NULL); 114 116 LBolt::explosionParticles->removeEmitter(this->emitter); 117 this->halo->setVisibiliy(false); 115 118 this->lifeCycle = 0.0; 116 119 -
trunk/src/world_entities/projectiles/spike_ball.cc
r10368 r10505 60 60 this->halo->setSize(2, 2); 61 61 this->halo->setTexture("hbolt_halo.png"); 62 this->halo->setVisibiliy(false); 62 63 63 64 this->setFragments(26); 64 65 65 66 this->size = 4; 67 66 68 67 69 this->launcher = new Vector [this->getFragments()]; … … 93 95 void SpikeBall::activate() 94 96 { 97 this->halo->setVisibiliy(true); 95 98 if (unlikely(SpikeBall::explosionParticles == NULL)) 96 99 { … … 139 142 void SpikeBall::deactivate() 140 143 { 144 this->halo->setVisibiliy(false); 141 145 assert (SpikeBall::explosionParticles != NULL); 142 146 //SpikeBall::explosionParticles->removeEmitter(this->emitter);
Note: See TracChangeset
for help on using the changeset viewer.