Changeset 7365 in orxonox.OLD for branches/cd/src/world_entities/world_entity.h
- Timestamp:
- Apr 25, 2006, 3:17:20 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/cd/src/world_entities/world_entity.h
r7221 r7365 2 2 * @file world_entity.h 3 3 * Definition of the basic WorldEntity 4 */4 */ 5 5 6 6 #ifndef _WORLD_ENTITY_H … … 42 42 inline void loadMD2Texture(const std::string& fileName) { this->md2TextureFileName = fileName; } 43 43 44 bool buildObbTree(unsigned int depth);45 /** @returns a reference to the obb tree of this worldentity */46 BVTree* getOBBTree() const { return this->obbTree; };47 48 44 /** @param visibility if the Entity should be visible (been draw) */ 49 45 void setVisibiliy (bool visibility) { this->bVisible = visibility; }; … … 58 54 59 55 virtual void tick (float time); 60 61 56 virtual void draw () const; 62 57 58 bool buildObbTree(int depth); 63 59 virtual void collidesWith (WorldEntity* entity, const Vector& location); 64 void drawBVTree(unsigned int depth, int drawMode) const; 65 60 /** @returns a reference to the obb tree of this worldentity */ 61 inline BVTree* getOBBTree() const { return this->obbTree; }; 62 void drawBVTree(int depth, int drawMode) const; 66 63 67 64 void debugWE() { this->debugEntity(); } … … 78 75 79 76 void toList(OM_LIST list); 77 80 78 81 79 /** @returns a Reference to the objectListNumber to set. */ … … 102 100 void setHealthMax(float healthMax); 103 101 void createHealthWidget(); 102 104 103 // CharacterAttributes* charAttr; //!< the character attributes of a world_entity 105 104 private:
Note: See TracChangeset
for help on using the changeset viewer.