Changeset 8217 in orxonox.OLD for branches/bsp_model/src/world_entities
- Timestamp:
- Jun 7, 2006, 9:57:13 PM (18 years ago)
- Location:
- branches/bsp_model/src/world_entities
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/bsp_model/src/world_entities/bsp_entity.h
r8186 r8217 18 18 class BSPEntity : public WorldEntity 19 19 { 20 20 21 21 public: 22 22 BSPEntity(const TiXmlElement* root = NULL); … … 24 24 25 25 virtual void loadParams(const TiXmlElement* root); 26 26 27 27 void setName(const std::string& name); 28 28 … … 33 33 virtual void collidesWith (WorldEntity* entity, const Vector& location); 34 34 35 /** @returns the BspManager of this entity */ 36 inline BspManager* getBspManager() { return this->bspManager; } 37 35 38 private: 36 39 BspManager* bspManager; -
branches/bsp_model/src/world_entities/playable.cc
r8147 r8217 66 66 this->bDead = false; 67 67 68 this->subscribeReaction(CREngine::CR_PHYSICS_GROUND_WALK, CL_BSP_MODEL); 69 68 70 registerVar( new SynchronizeableInt( &score, &score, "score" ) ); 69 71 registerVar( new SynchronizeableBool( &bFire, &bFire, "bFire", PERMISSION_OWNER)); … … 79 81 // this->setPlayer(NULL); 80 82 // IN ITS DESTRUCTOR. 81 83 82 84 assert(this->currentPlayer == NULL); 83 85 }
Note: See TracChangeset
for help on using the changeset viewer.