- Timestamp:
- Oct 19, 2015, 4:00:00 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/explosionChunksHS15/src/orxonox/worldentities/pawns/Pawn.cc
r10624 r10669 42 42 #include "worldentities/ExplosionChunk.h" 43 43 #include "worldentities/BigExplosion.h" 44 //#include "worldentities/VaydinExplosion.h" 44 45 #include "weaponsystem/WeaponSystem.h" 45 46 #include "weaponsystem/WeaponSlot.h" … … 142 143 XMLPortObject(Pawn, WeaponSet, "weaponsets", addWeaponSet, getWeaponSet, xmlelement, mode); 143 144 XMLPortObject(Pawn, WeaponPack, "weapons", addWeaponPackXML, getWeaponPack, xmlelement, mode); 145 146 //XMLPortObject(Pawn, VaydinExplosion, "vaydinexplosion", addVaydinExplosion, getVaydinExplosion, xmlelement, mode); 144 147 145 148 XMLPortParam(Pawn, "reloadrate", setReloadRate, getReloadRate, xmlelement, mode).defaultValues(0); … … 165 168 void Pawn::tick(float dt) 166 169 { 170 //BigExplosion* chunk = new BigExplosion(this->getContext()); 167 171 SUPER(Pawn, tick, dt); 168 172 … … 375 379 void Pawn::goWithStyle() 376 380 { 381 orxout() << "gowithstyle" << endl; 382 383 377 384 this->bAlive_ = false; 378 385 this->setDestroyWhenPlayerLeft(false); … … 387 394 void Pawn::deatheffect() 388 395 { 396 orxout() << "deatheffect" << endl; 389 397 // play death effect 390 398 /*{
Note: See TracChangeset
for help on using the changeset viewer.