Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7446 in orxonox.OLD for branches/network/src/lib/coord/p_node.cc


Ignore:
Timestamp:
Apr 29, 2006, 3:28:42 PM (19 years ago)
Author:
rennerc
Message:

implemented some varChangeHandler functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/network/src/lib/coord/p_node.cc

    r7444 r7446  
    10911091void PNode::varChangeHandler( std::list< int > & id )
    10921092{
    1093 #warning implement this
    1094 }
    1095 
    1096 
     1093  if ( std::find( id.begin(), id.end(), relCoordinate_handle ) != id.end() )
     1094  {
     1095    setRelCoor( relCoordinate_write );
     1096  }
     1097 
     1098  if ( std::find( id.begin(), id.end(), relDirection_handle ) != id.end() )
     1099  {
     1100    setRelDir( relDirection_write );
     1101  }
     1102}
     1103
     1104
Note: See TracChangeset for help on using the changeset viewer.