Changeset 5498 in orxonox.OLD for trunk/src/world_entities/world_entity.h
- Timestamp:
- Nov 7, 2005, 10:43:22 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/world_entity.h
r5431 r5498 11 11 12 12 // FORWARD DECLARATION 13 class CharacterAttributes;14 class SoundEngine;15 13 class SoundBuffer; 16 14 class SoundSource; 17 15 class BVTree; 16 17 //class CharacterAttributes; 18 18 19 19 … … 28 28 29 29 /** @see loadModelWithScale(const char*, float) @param fileName the File to load */ 30 void loadModel(const char* fileName) { this->loadModelWithScale(fileName, 1.0); }; 30 void loadModel(const char* fileName) { this->loadModelWithScale(fileName, 1.0f); }; 31 31 32 void loadModelWithScale(const char* fileName, float scaling); 32 33 … … 42 43 bool isVisible() const { return this->bVisible; }; 43 44 44 void setCharacterAttributes(CharacterAttributes* charAttr);45 CharacterAttributes* getCharacterAttributes();45 // void setCharacterAttributes(CharacterAttributes* charAttr); 46 // CharacterAttributes* getCharacterAttributes(); 46 47 47 48 /** @returns a reference to the obb tree of this worldentity */ … … 51 52 virtual void leftWorld (); 52 53 53 virtual void hit (WorldEntity* weapon, Vector* loc);54 54 virtual void collidesWith (WorldEntity* entity, const Vector& location); 55 55 … … 63 63 protected: 64 64 Model* model; //!< The model that should be loaded for this entity. 65 CharacterAttributes* charAttr; //!< the character attributes of a world_entity66 65 BVTree* obbTree; //!< this is the obb tree reference needed for collision detection 66 // CharacterAttributes* charAttr; //!< the character attributes of a world_entity 67 67 68 68 private:
Note: See TracChangeset
for help on using the changeset viewer.