Changeset 6089 in orxonox.OLD for branches/objectmanager/src/world_entities/world_entity.h
- Timestamp:
- Dec 13, 2005, 2:58:57 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/objectmanager/src/world_entities/world_entity.h
r6005 r6089 11 11 #include "model.h" 12 12 13 #include "object_manager.h" 13 14 #include "glincl.h" 14 15 #include <vector> … … 65 66 // CharacterAttributes* getCharacterAttributes(); 66 67 67 68 /** @returns a Reference to the objectListNumber to set. */ 69 OM_LIST& getOMListNumber() { return this->objectListNumber; } 70 /** @returns a Reference to the Iterator */ 71 std::list<WorldEntity*>::iterator& getEntityIterator() { return this->objectListIterator; } 68 72 protected: 69 73 // CharacterAttributes* charAttr; //!< the character attributes of a world_entity 70 74 71 75 private: 72 std::vector<Model*> models; //!< The model that should be loaded for this entity.73 BVTree* obbTree; //!< this is the obb tree reference needed for collision detection76 std::vector<Model*> models; //!< The model that should be loaded for this entity. 77 BVTree* obbTree; //!< this is the obb tree reference needed for collision detection 74 78 75 bool bCollide; //!< If it should be considered for the collisiontest. 76 bool bVisible; //!< If it should be visible. 79 bool bCollide; //!< If it should be considered for the collisiontest. 80 bool bVisible; //!< If it should be visible. 81 82 OM_LIST objectListNumber; //!< The ObjectList from ObjectManager this Entity is in. 83 std::list<WorldEntity*>::iterator objectListIterator; //!< The iterator position of this Entity in the given list of the ObjectManager. 84 77 85 }; 78 86
Note: See TracChangeset
for help on using the changeset viewer.