Changeset 3365 in orxonox.OLD for orxonox/trunk/src/world_entity.h
- Timestamp:
- Jan 7, 2005, 1:14:33 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/world_entity.h
r3229 r3365 8 8 9 9 #include "stdincl.h" 10 #include "p_node.h" 10 11 11 12 class CollisionCluster; 13 class Model; 12 14 13 15 //! Basic class from which all interactive stuff in the world is derived from 14 class WorldEntity 16 class WorldEntity : public PNode 15 17 { 16 18 friend class World; 17 19 18 20 public: 19 21 WorldEntity (bool isFree = false); 20 22 virtual ~WorldEntity (); 23 24 Model* model; 21 25 22 Location* getLocation ();23 Placement* getPlacement ();24 26 void setCollision (CollisionCluster* newhull); 25 27 … … 35 37 virtual void collide (WorldEntity* other, Uint32 ownhitflags, Uint32 otherhitflags); 36 38 virtual void command (Command* cmd); 37 39 40 void processDraw (); 38 41 virtual void draw (); 39 v irtual void getLookat (Location* locbuf);42 void setDrawable (bool bDraw); 40 43 41 44 virtual void leftWorld (); … … 45 48 bool bCollide; 46 49 bool bDraw; 47 48 WorldEntity* owner; 50 49 51 CollisionCluster* collisioncluster; 50 Placement place;51 Location loc;52 53 void init( Location* spawnloc, WorldEntity* spawnowner);54 void init( Placement* spawnplc, WorldEntity* spawnowner);55 52 }; 56 53
Note: See TracChangeset
for help on using the changeset viewer.