Changeset d2d8f5 for molecuilder/src/World.cpp
- Timestamp:
- Feb 5, 2010, 3:19:27 PM (16 years ago)
- Children:
- 86b917
- Parents:
- 42918b
- File:
-
- 1 edited
-
molecuilder/src/World.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/World.cpp
r42918b rd2d8f5 8 8 #include "World.hpp" 9 9 10 #include <iostream> 10 #include "atom.hpp" 11 12 using namespace std; 11 13 12 14 /******************************* getter and setter ************************/ … … 73 75 } 74 76 77 // some legacy stuff to let the World know about items created outside 78 void World::registerAtom(atom *theAtom){ 79 OBSERVE; 80 atoms[theAtom->getId()] = theAtom; 81 } 75 82 76 // methods for WorldContent CRTP mechanism 77 void World::registerContent(atom *atom){ 78 std::cout << "############### some kind of Atom created ##################" << std::endl;83 void World::unregisterAtom(atom *theAtom){ 84 OBSERVE; 85 atoms.erase(theAtom->getId()); 79 86 }
Note:
See TracChangeset
for help on using the changeset viewer.
