- Timestamp:
- Nov 30, 2007, 1:12:53 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/objecthierarchy/src/orxonox/core/Identifier.cc
r258 r362 7 7 // ############################### 8 8 int Identifier::hierarchyCreatingCounter_s = 0; 9 unsigned int Identifier::classIDcounter_s = 0; 9 10 10 11 Identifier::Identifier() … … 14 15 15 16 this->children_ = new IdentifierList; 17 this->classID_ = Identifier::classIDcounter_s++; 16 18 } 17 19 … … 57 59 } 58 60 61 void Identifier::setNetworkID(unsigned int id) 62 { 63 Factory::changeNetworkID(this, this->classID_, id); 64 this->classID_ = id; 65 } 66 59 67 bool Identifier::isA(const Identifier* identifier) const 60 68 {
Note: See TracChangeset
for help on using the changeset viewer.