- Timestamp:
- Nov 2, 2008, 12:54:17 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/objecthierarchy/src/orxonox/objects/Test.cc
r2034 r2112 36 36 CreateFactory ( Test ); 37 37 38 Test::Test(BaseObject* creator) : BaseObject(creator), network::Synchronisable(creator)38 Test::Test(BaseObject* creator) : BaseObject(creator), Synchronisable(creator) 39 39 { 40 40 RegisterObject ( Test ); … … 59 59 void Test::registerVariables() 60 60 { 61 REGISTERDATA ( v1, network::direction::toclient, new network::NetworkCallback<Test> ( this, &Test::checkV1 ) );62 REGISTERDATA ( v2, network::direction::toserver, new network::NetworkCallback<Test> ( this, &Test::checkV2 ) );63 REGISTERDATA ( v3, network::direction::bidirectional, new network::NetworkCallback<Test> ( this, &Test::checkV3 ) );61 REGISTERDATA ( v1,direction::toclient, new NetworkCallback<Test> ( this, &Test::checkV1 ) ); 62 REGISTERDATA ( v2,direction::toserver, new NetworkCallback<Test> ( this, &Test::checkV2 ) ); 63 REGISTERDATA ( v3,direction::bidirectional, new NetworkCallback<Test> ( this, &Test::checkV3 ) ); 64 64 } 65 65
Note: See TracChangeset
for help on using the changeset viewer.