Changeset 6250 in orxonox.OLD for branches/network/src/lib/network/synchronizeable.cc
- Timestamp:
- Dec 21, 2005, 4:29:15 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/lib/network/synchronizeable.cc
r6190 r6250 28 28 Synchronizeable::Synchronizeable() 29 29 { 30 30 this->setClassID(CL_SYNCHRONIZEABLE, "Synchronizeable"); 31 31 owner = 0; 32 32 hostID = NetworkManager::getInstance()->getHostID(); 33 this->setIsServer(this->hostID == 0); 34 PRINTF(0)("sync created,id %i\n", this->hostID); 33 35 uniqueID = -1; 34 36 this->networkStream = NULL; … … 37 39 } 38 40 39 /**40 * default constructor41 */42 Synchronizeable::Synchronizeable(const char* name)43 {44 this->setName(name);45 this->networkStream = NULL;46 }47 41 48 42
Note: See TracChangeset
for help on using the changeset viewer.