Changeset 3605 in orxonox.OLD for orxonox/branches/levelloader/src/world_entities/world_entity.h
- Timestamp:
- Mar 18, 2005, 11:52:15 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/levelloader/src/world_entities/world_entity.h
r3499 r3605 9 9 #include "stdincl.h" 10 10 #include "p_node.h" 11 #include "objModel.h" 11 12 12 13 //class CollisionCluster; 13 class OBJModel; 14 class CharacterAttributes; 15 14 16 15 17 //! Basic class from which all interactive stuff in the world is derived from … … 22 24 virtual ~WorldEntity (); 23 25 24 OBJModel* model; //!< The model that should be loaded for this entity. 26 27 25 28 26 29 //void setCollision (CollisionCluster* newhull); 27 30 28 bool isFree ();29 30 31 //void addAbility(Ability* ability); 31 32 //void removeAbility(Ability* ability); 32 33 void setDrawable (bool bDraw); 34 bool isFree (); 35 void setCharacterAttributes(CharacterAttributes* charAttr); 36 CharacterAttributes* getCharacterAttributes(); 37 33 38 virtual void postSpawn (); 34 virtual void tick (float time);35 virtual void hit (WorldEntity* weapon, Vector loc); 36 virtual void destroy ();39 virtual void leftWorld (); 40 41 virtual void hit (WorldEntity* weapon, Vector* loc); 37 42 virtual void collide (WorldEntity* other, Uint32 ownhitflags, Uint32 otherhitflags); 38 43 virtual void command (Command* cmd); … … 40 45 void processDraw (); 41 46 virtual void draw (); 42 v oid setDrawable (bool bDraw);47 virtual void tick (float time); 43 48 44 virtual void leftWorld (); 49 protected: 50 OBJModel* model; //!< The model that should be loaded for this entity. 51 CharacterAttributes* charAttr; //!< the character attributes of a world_entity 45 52 46 53 private: … … 49 56 bool bDraw; //!< If it should be visible. 50 57 58 59 51 60 //CollisionCluster* collisioncluster; //!< The collision-Cluster of this entity. 52 61 };
Note: See TracChangeset
for help on using the changeset viewer.