Changeset 2068 in orxonox.OLD for orxonox/branches/chris/src/world_entity.h
- Timestamp:
- Jul 5, 2004, 10:43:49 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/chris/src/world_entity.h
r2066 r2068 29 29 void removeAbility(Ability* ability); 30 30 31 virtual void tick(float time); 32 virtual void paint(); 33 /* virtual void actionEvent(Event* event); */ 34 virtual void collide(WorldEntity* we, Vector loc); 35 virtual void hit(WorldEntity* weapon, Vector loc); 36 virtual void destroy(); 31 virtual void tick (float time); 32 virtual void draw (); 33 virtual void collide (WorldEntity* other, Uint32 ownhitflags, Uint32 otherhitflags); 34 virtual void hit (WorldEntity* weapon, Vector loc); 35 virtual void destroy (); 37 36 virtual void command (Command* cmd); 37 virtual void get_lookat (Location* locbuf); 38 38 39 39 virtual void entityPreEnter(); … … 42 42 virtual void entityPostQuit(); 43 43 44 44 bool bCollide; 45 bool bDraw; 45 46 46 47 private: 47 Vector* position; 48 Vector* orientation; 48 WorldEntity* owner; 49 CollisionCluster* collisioncluster; 50 Placement place; 51 Location loc; 49 52 /* List of abilities */ 50 53 float health;
Note: See TracChangeset
for help on using the changeset viewer.