Changeset 9837 for code/branches/invaders/src/orxonox
- Timestamp:
- Dec 2, 2013, 2:08:46 PM (11 years ago)
- Location:
- code/branches/invaders/src/orxonox/worldentities
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/invaders/src/orxonox/worldentities/BigExplosion.cc
r9667 r9837 43 43 RegisterClass(BigExplosion); 44 44 45 BigExplosion::BigExplosion(Context* context) : StaticEntity(context)45 BigExplosion::BigExplosion(Context* context) : MobileEntity(context) 46 46 { 47 47 RegisterObject(BigExplosion); … … 100 100 this->debris4_->setSyncMode(0); 101 101 102 this->explosion_ = new StaticEntity(this->getContext());102 this->explosion_ = new MobileEntity(this->getContext()); 103 103 this->explosion_->setSyncMode(0); 104 104 -
code/branches/invaders/src/orxonox/worldentities/BigExplosion.h
r9667 r9837 22 22 * Author: 23 23 * Benjamin de Capitani 24 * Co-authors: 24 * Co-authors:§ 25 25 * ... 26 26 * … … 33 33 34 34 #include "tools/Timer.h" 35 #include " StaticEntity.h"35 #include "MobileEntity.h" 36 36 37 37 namespace orxonox 38 38 { 39 class _OrxonoxExport BigExplosion : public StaticEntity39 class _OrxonoxExport BigExplosion : public MobileEntity 40 40 { 41 41 public: … … 60 60 bool bStop_; 61 61 62 StaticEntity* explosion_;62 MobileEntity* explosion_; 63 63 64 64 MovableEntity* debrisEntity1_; -
code/branches/invaders/src/orxonox/worldentities/pawns/Pawn.cc
r9667 r9837 367 367 BigExplosion* chunk = new BigExplosion(this->getContext()); 368 368 chunk->setPosition(this->getPosition()); 369 chunk->setVelocity(this->getVelocity()); 369 370 370 371 }
Note: See TracChangeset
for help on using the changeset viewer.