Changeset 323177 for molecuilder/src/World.cpp
- Timestamp:
- Feb 16, 2010, 4:24:07 PM (16 years ago)
- Children:
- 120f8b
- Parents:
- 973c03
- File:
-
- 1 edited
-
molecuilder/src/World.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/World.cpp
r973c03 r323177 18 18 } 19 19 20 atom* World::getAtom(AtomDescriptor &descriptor){20 atom* World::getAtom(AtomDescriptor descriptor){ 21 21 return descriptor.find(); 22 22 } 23 23 24 vector<atom*> World::getAllAtoms(AtomDescriptor &descriptor){24 vector<atom*> World::getAllAtoms(AtomDescriptor descriptor){ 25 25 return descriptor.findAll(); 26 26 } … … 34 34 35 35 36 World::World() 36 World::World() : 37 dummyId(0) 37 38 {} 38 39 … … 87 88 void World::registerAtom(atom *theAtom){ 88 89 OBSERVE; 89 atoms[ theAtom->getId()] = theAtom;90 atoms[dummyId++] = theAtom; 90 91 } 91 92
Note:
See TracChangeset
for help on using the changeset viewer.
