Changeset 9667 for code/trunk/src/modules/weapons/projectiles/Projectile.cc
- Timestamp:
- Aug 25, 2013, 9:08:42 PM (12 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
/code/branches/core6 merged: 9552-9554,9556-9574,9577-9579,9585-9593,9596-9612,9626-9662
- Property svn:mergeinfo changed
-
code/trunk/src/modules/weapons/projectiles/Projectile.cc
r8855 r9667 34 34 #include "Projectile.h" 35 35 36 #include "core/ ConfigValueIncludes.h"36 #include "core/config/ConfigValueIncludes.h" 37 37 #include "core/CoreIncludes.h" 38 38 #include "core/GameMode.h" … … 44 44 namespace orxonox 45 45 { 46 CreateFactory(Projectile);46 RegisterClass(Projectile); 47 47 48 Projectile::Projectile( BaseObject* creator) : MovableEntity(creator), BasicProjectile()48 Projectile::Projectile(Context* context) : MovableEntity(context), BasicProjectile() 49 49 { 50 50 RegisterObject(Projectile); … … 60 60 this->setCollisionType(Kinematic); 61 61 62 SphereCollisionShape* shape = new SphereCollisionShape(this );62 SphereCollisionShape* shape = new SphereCollisionShape(this->getContext()); 63 63 shape->setRadius(20.0f); 64 64 this->attachCollisionShape(shape);
Note: See TracChangeset
for help on using the changeset viewer.