Changeset 3257 for code/branches/core4/src/orxonox/objects/collisionshapes
- Timestamp:
- Jun 30, 2009, 3:14:45 PM (15 years ago)
- Location:
- code/branches/core4/src/orxonox/objects/collisionshapes
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core4/src/orxonox/objects/collisionshapes/BoxCollisionShape.cc
r3196 r3257 57 57 void BoxCollisionShape::registerVariables() 58 58 { 59 registerVariable(this->halfExtents_, variableDirection::toclient, new NetworkCallback<CollisionShape>(this, &CollisionShape::updateShape));59 registerVariable(this->halfExtents_, VariableDirection::ToClient, new NetworkCallback<CollisionShape>(this, &CollisionShape::updateShape)); 60 60 } 61 61 -
code/branches/core4/src/orxonox/objects/collisionshapes/CollisionShape.cc
r3239 r3257 77 77 void CollisionShape::registerVariables() 78 78 { 79 registerVariable(this->parentID_, variableDirection::toclient, new NetworkCallback<CollisionShape>(this, &CollisionShape::parentChanged));79 registerVariable(this->parentID_, VariableDirection::ToClient, new NetworkCallback<CollisionShape>(this, &CollisionShape::parentChanged)); 80 80 } 81 81 -
code/branches/core4/src/orxonox/objects/collisionshapes/ConeCollisionShape.cc
r3196 r3257 57 57 void ConeCollisionShape::registerVariables() 58 58 { 59 registerVariable(this->radius_, variableDirection::toclient, new NetworkCallback<CollisionShape>(this, &CollisionShape::updateShape));60 registerVariable(this->height_, variableDirection::toclient, new NetworkCallback<CollisionShape>(this, &CollisionShape::updateShape));59 registerVariable(this->radius_, VariableDirection::ToClient, new NetworkCallback<CollisionShape>(this, &CollisionShape::updateShape)); 60 registerVariable(this->height_, VariableDirection::ToClient, new NetworkCallback<CollisionShape>(this, &CollisionShape::updateShape)); 61 61 } 62 62 -
code/branches/core4/src/orxonox/objects/collisionshapes/PlaneCollisionShape.cc
r3196 r3257 58 58 void PlaneCollisionShape::registerVariables() 59 59 { 60 registerVariable(this->normal_, variableDirection::toclient, new NetworkCallback<CollisionShape>(this, &CollisionShape::updateShape));61 registerVariable(this->offset_, variableDirection::toclient, new NetworkCallback<CollisionShape>(this, &CollisionShape::updateShape));60 registerVariable(this->normal_, VariableDirection::ToClient, new NetworkCallback<CollisionShape>(this, &CollisionShape::updateShape)); 61 registerVariable(this->offset_, VariableDirection::ToClient, new NetworkCallback<CollisionShape>(this, &CollisionShape::updateShape)); 62 62 } 63 63 -
code/branches/core4/src/orxonox/objects/collisionshapes/SphereCollisionShape.cc
r3196 r3257 56 56 void SphereCollisionShape::registerVariables() 57 57 { 58 registerVariable(this->radius_, variableDirection::toclient, new NetworkCallback<CollisionShape>(this, &CollisionShape::updateShape));58 registerVariable(this->radius_, VariableDirection::ToClient, new NetworkCallback<CollisionShape>(this, &CollisionShape::updateShape)); 59 59 } 60 60
Note: See TracChangeset
for help on using the changeset viewer.