- Timestamp:
- Dec 10, 2008, 12:50:05 PM (16 years ago)
- Location:
- code/branches/presentation
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation
- Property svn:mergeinfo changed
/code/branches/network (added) merged: 2356 /code/branches/network64 (added) merged: 2210-2211,2245-2247,2255,2307,2309-2312,2316,2355
- Property svn:mergeinfo changed
-
code/branches/presentation/src/orxonox/objects/worldentities/Light.cc
r2171 r2371 79 79 void Light::registerVariables() 80 80 { 81 REGISTERDATA(this->type_, direction::toclient, new NetworkCallback<Light>(this, &Light::changedType));82 REGISTERDATA(this->light_->getDiffuseColour(), direction::toclient);83 REGISTERDATA(this->light_->getSpecularColour(), direction::toclient);84 REGISTERDATA(this->light_->getDirection(), direction::toclient);81 registerVariable((int &)this->type_, variableDirection::toclient, new NetworkCallback<Light>(this, &Light::changedType)); 82 registerVariable(this->light_->getDiffuseColour(), variableDirection::toclient); 83 registerVariable(this->light_->getSpecularColour(), variableDirection::toclient); 84 registerVariable(this->light_->getDirection(), variableDirection::toclient); 85 85 } 86 86
Note: See TracChangeset
for help on using the changeset viewer.