Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 1, 2013, 2:41:07 PM (11 years ago)
Author:
landauf
Message:

set the owner of a WorldEntityCollisionShape independent of the creator

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core6/src/orxonox/collisionshapes/WorldEntityCollisionShape.h

    r5781 r9612  
    3838    {
    3939        public:
    40             WorldEntityCollisionShape(WorldEntity* creator);
     40            WorldEntityCollisionShape(BaseObject* creator);
    4141            virtual ~WorldEntityCollisionShape();
    4242
    43             inline WorldEntity* getWorldEntityOwner()
     43            inline void setWorldEntityOwner(WorldEntity* worldEntityOwner)
     44                { this->worldEntityOwner_ = worldEntityOwner; }
     45            inline WorldEntity* getWorldEntityOwner() const
    4446                { return this->worldEntityOwner_; }
    4547
Note: See TracChangeset for help on using the changeset viewer.