Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

Location:
code/branches/network/src/orxonox/objects
Files:
2 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);
  • code/branches/network/src/orxonox/objects/SpaceShip.h

    r1505 r1521  
    4444    {
    4545        public:
     46         
    4647
    4748            static SpaceShip *getLocalShip();
Note: See TracChangeset for help on using the changeset viewer.