- Timestamp:
- May 23, 2009, 9:57:52 PM (15 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
/code/branches/gametypes (added) merged: 2827,2903,2905-2906,2933-2936,2952,2954,2961,2970-2971,2978,2985-2986,3019-3020
- Property svn:mergeinfo changed
-
code/trunk/src/orxonox/objects/worldentities/MovableEntity.h
r2662 r3033 46 46 47 47 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); 48 virtual bool collidesAgainst(WorldEntity* otherObject, btManifoldPoint& contactPoint); 48 49 void registerVariables(); 49 50 … … 55 56 inline void setOrientation(const Quaternion& orientation) 56 57 { MobileEntity::setOrientation(orientation); this->overwrite_orientation_ = this->getOrientation(); } 58 59 inline void setOwner(Pawn* owner) 60 { this->owner_ = owner; } 61 inline Pawn* getOwner() const 62 { return this->owner_; } 63 64 inline void setCollisionDamage(float c) 65 { this->collisionDamage_ = c; } 66 67 inline float getCollisionDamage() 68 { return this->collisionDamage_; } 69 70 inline void setEnableCollisionDamage(bool c) 71 { 72 this->enableCollisionDamage_ = c; 73 this->enableCollisionCallback(); 74 } 75 76 inline bool getEnableCollisionDamage() 77 { return this->enableCollisionDamage_; } 57 78 58 79 private: … … 76 97 Timer<MovableEntity> resynchronizeTimer_; 77 98 Timer<MovableEntity>* continuousResynchroTimer_; 99 100 Pawn* owner_; 101 float collisionDamage_; 102 bool enableCollisionDamage_; 78 103 }; 79 104 }
Note: See TracChangeset
for help on using the changeset viewer.