Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/trunk/src/world_entities/bsp_entity.h @ 9219

Last change on this file since 9219 was 9059, checked in by patrick, 18 years ago

merged the network branche with the trunk

File size: 1.0 KB
RevLine 
[4838]1/*!
[8081]2 * @file bsp_entity.h
[4838]3 * @brief description
[3245]4*/
[1853]5
[8081]6#ifndef _BSP_ENTITY_H
7#define _BSP_ENTITY_H
[1853]8
[3559]9#include "world_entity.h"
[8081]10#include "bsp_manager.h"
[1853]11
[8081]12#include "util/loading/factory.h"
13#include "util/loading/load_param.h"
14
15
16
[3761]17//! A Class to ...
[8490]18class BspEntity : public WorldEntity
[3559]19{
[8490]20
[1904]21 public:
[8490]22  BspEntity(const TiXmlElement* root = NULL);
23  virtual ~BspEntity();
[4838]24
[6512]25  virtual void loadParams(const TiXmlElement* root);
[8490]26
[8081]27  void setName(const std::string& name);
28
[3564]29  void init();
[9059]30 
31  virtual void varChangeHandler( std::list<int> & id );
[4838]32
[5509]33  virtual void draw() const;
[3762]34  virtual void tick(float time);
[5509]35  virtual void collidesWith (WorldEntity* entity, const Vector& location);
[3245]36
[8490]37  /** @returns the BspManager of this entity */
38  inline BspManager* getBspManager() { return this->bspManager; }
39
[3245]40 private:
[8081]41   BspManager* bspManager;
[9059]42   
43   std::string name;                   //!< store name
44   std::string name_write;             //!< temp variable to store name
45   int name_handle;                    //!< handle for name
[3761]46
[1853]47};
48
[8081]49#endif /* _BSP_ENTITY_H */
Note: See TracBrowser for help on using the repository browser.