- Timestamp:
- Dec 14, 2008, 4:16:52 PM (16 years ago)
- Location:
- code/branches/physics_merge
- Files:
-
- 1 added
- 1 edited
- 9 copied
Legend:
- Unmodified
- Added
- Removed
-
code/branches/physics_merge
- Property svn:mergeinfo changed
-
code/branches/physics_merge/src/orxonox/objects/collisionshapes
- Property svn:mergeinfo changed
-
code/branches/physics_merge/src/orxonox/objects/collisionshapes/CollisionShape.cc
r2440 r2442 45 45 CollisionShape::CollisionShape(BaseObject* creator) 46 46 : BaseObject(creator) 47 , network::Synchronisable(creator)47 , Synchronisable(creator) 48 48 { 49 49 RegisterObject(CollisionShape); … … 76 76 void CollisionShape::registerVariables() 77 77 { 78 REGISTERDATA(this->parentID_, network::direction::toclient, new network::NetworkCallback<CollisionShape>(this, &CollisionShape::parentChanged));78 registerVariable(this->parentID_, variableDirection::toclient, new NetworkCallback<CollisionShape>(this, &CollisionShape::parentChanged)); 79 79 } 80 80 -
code/branches/physics_merge/src/orxonox/objects/collisionshapes/CollisionShape.h
r2440 r2442 35 35 #include "util/Math.h" 36 36 #include "core/BaseObject.h" 37 #include "network/ Synchronisable.h"37 #include "network/synchronisable/Synchronisable.h" 38 38 39 39 namespace orxonox 40 40 { 41 class _OrxonoxExport CollisionShape : public BaseObject, public network::Synchronisable41 class _OrxonoxExport CollisionShape : public BaseObject, public Synchronisable 42 42 { 43 43 public: -
code/branches/physics_merge/src/orxonox/objects/collisionshapes/PlaneCollisionShape.cc
r2440 r2442 57 57 void PlaneCollisionShape::registerVariables() 58 58 { 59 REGISTERDATA(this->normal_, network::direction::toclient, new network::NetworkCallback<PlaneCollisionShape>(this, &PlaneCollisionShape::updatePlane));60 REGISTERDATA(this->offset_, network::direction::toclient, new network::NetworkCallback<PlaneCollisionShape>(this, &PlaneCollisionShape::updatePlane));59 registerVariable(this->normal_, variableDirection::toclient, new NetworkCallback<PlaneCollisionShape>(this, &PlaneCollisionShape::updatePlane)); 60 registerVariable(this->offset_, variableDirection::toclient, new NetworkCallback<PlaneCollisionShape>(this, &PlaneCollisionShape::updatePlane)); 61 61 } 62 62 -
code/branches/physics_merge/src/orxonox/objects/collisionshapes/SphereCollisionShape.cc
r2440 r2442 58 58 void SphereCollisionShape::registerVariables() 59 59 { 60 REGISTERDATA(this->radius_, network::direction::toclient, new network::NetworkCallback<SphereCollisionShape>(this, &SphereCollisionShape::updateSphere));60 registerVariable(this->radius_, variableDirection::toclient, new NetworkCallback<SphereCollisionShape>(this, &SphereCollisionShape::updateSphere)); 61 61 } 62 62
Note: See TracChangeset
for help on using the changeset viewer.