Changeset 560 for code/branches/FICN/src/orxonox/objects/Entity.cc
- Timestamp:
- Dec 17, 2007, 3:20:46 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FICN/src/orxonox/objects/Entity.cc
r531 r560 6 6 #include "../../misc/Tokenizer.h" 7 7 #include "../../misc/String2Number.h" 8 #include "../core/Debug.h" 8 9 9 10 #include "Entity.h" … … 25 26 { 26 27 Ogre::SceneManager* mgr = orxonox::Orxonox::getSingleton()->getSceneManager(); 27 28 28 29 if (xmlElem->Attribute("name") && xmlElem->Attribute("src") && xmlElem->Attribute("node")) 29 30 { … … 31 32 std::string src = xmlElem->Attribute("src"); 32 33 std::string node = xmlElem->Attribute("node"); 33 34 34 35 Ogre::Entity* entity = mgr->createEntity(name, src); 35 36 … … 37 38 sceneNode->attachObject((Ogre::MovableObject*)entity); 38 39 39 std::cout<< "Loader: Created entity "<< name <<" with source " << src << " at node " << node << std::endl << std::endl;40 } 40 COUT(4) << "Loader: Created entity "<< name <<" with source " << src << " at node " << node << std::endl << std::endl; 41 } 41 42 } 42 43 43 44 }
Note: See TracChangeset
for help on using the changeset viewer.