Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 2, 2008, 11:08:46 PM (16 years ago)
Author:
scheusso
Message:

we are now able to define callback actions, for each seperate variable of a synchronisable, that has changed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/network/src/orxonox/objects/SpaceShip.cc

    r1516 r1521  
    6969    SpaceShip* SpaceShip::instance_s;
    7070
     71   
    7172    SpaceShip *SpaceShip::getLocalShip(){
    7273      Iterator<SpaceShip> it;
     
    163164
    164165    void SpaceShip::registerAllVariables(){
    165       registerVar( &camName_, camName_.length()+1, network::STRING, 0x1);
     166      registerVar( &camName_, camName_.length()+1, network::STRING, 0x1 );
    166167      registerVar( &maxSpeed_, sizeof(maxSpeed_), network::DATA, 0x1);
    167168      registerVar( &maxSideAndBackSpeed_, sizeof(maxSideAndBackSpeed_), network::DATA, 0x1);
Note: See TracChangeset for help on using the changeset viewer.