Changeset 9667 for code/trunk/src/orxonox/collisionshapes
- Timestamp:
- Aug 25, 2013, 9:08:42 PM (11 years ago)
- Location:
- code/trunk
- Files:
-
- 7 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/orxonox/collisionshapes/CollisionShape.cc
r8858 r9667 44 44 namespace orxonox 45 45 { 46 RegisterAbstractClass(CollisionShape).inheritsFrom(Class(BaseObject)).inheritsFrom(Class(Synchronisable)); 46 47 47 48 /** … … 49 50 Constructor. Registers and initializes the object. 50 51 */ 51 CollisionShape::CollisionShape( BaseObject* creator)52 : BaseObject(c reator)53 , Synchronisable(c reator)52 CollisionShape::CollisionShape(Context* context) 53 : BaseObject(context) 54 , Synchronisable(context) 54 55 { 55 56 RegisterObject(CollisionShape); -
code/trunk/src/orxonox/collisionshapes/CollisionShape.h
r8706 r9667 58 58 { 59 59 public: 60 CollisionShape( BaseObject* creator);60 CollisionShape(Context* context); 61 61 virtual ~CollisionShape(); 62 62 -
code/trunk/src/orxonox/collisionshapes/CompoundCollisionShape.cc
r8858 r9667 42 42 namespace orxonox 43 43 { 44 CreateFactory(CompoundCollisionShape);44 RegisterClass(CompoundCollisionShape); 45 45 46 46 /** … … 48 48 Constructor. Registers and initializes the object. 49 49 */ 50 CompoundCollisionShape::CompoundCollisionShape( BaseObject* creator) : CollisionShape(creator)50 CompoundCollisionShape::CompoundCollisionShape(Context* context) : CollisionShape(context) 51 51 { 52 52 RegisterObject(CompoundCollisionShape); -
code/trunk/src/orxonox/collisionshapes/CompoundCollisionShape.h
r8706 r9667 58 58 { 59 59 public: 60 CompoundCollisionShape( BaseObject* creator);60 CompoundCollisionShape(Context* context); 61 61 virtual ~CompoundCollisionShape(); 62 62 -
code/trunk/src/orxonox/collisionshapes/WorldEntityCollisionShape.cc
r8706 r9667 37 37 namespace orxonox 38 38 { 39 WorldEntityCollisionShape::WorldEntityCollisionShape( WorldEntity* creator) : CompoundCollisionShape(creator)39 WorldEntityCollisionShape::WorldEntityCollisionShape(Context* context) : CompoundCollisionShape(context) 40 40 { 41 41 RegisterObject(WorldEntityCollisionShape); 42 42 43 this->worldEntityOwner_ = creator;43 this->worldEntityOwner_ = NULL; 44 44 // suppress synchronisation 45 45 this->setSyncMode(ObjectDirection::None); -
code/trunk/src/orxonox/collisionshapes/WorldEntityCollisionShape.h
r5781 r9667 38 38 { 39 39 public: 40 WorldEntityCollisionShape( WorldEntity* creator);40 WorldEntityCollisionShape(Context* context); 41 41 virtual ~WorldEntityCollisionShape(); 42 42 43 inline WorldEntity* getWorldEntityOwner() 43 inline void setWorldEntityOwner(WorldEntity* worldEntityOwner) 44 { this->worldEntityOwner_ = worldEntityOwner; } 45 inline WorldEntity* getWorldEntityOwner() const 44 46 { return this->worldEntityOwner_; } 45 47
Note: See TracChangeset
for help on using the changeset viewer.