Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 8851 was 8490, checked in by patrick, 19 years ago

merged the bsp branche back to trunk

File size: 796 bytes
Line 
1/*!
2 * @file bsp_entity.h
3 * @brief description
4*/
5
6#ifndef _BSP_ENTITY_H
7#define _BSP_ENTITY_H
8
9#include "world_entity.h"
10#include "bsp_manager.h"
11
12#include "util/loading/factory.h"
13#include "util/loading/load_param.h"
14
15
16
17//! A Class to ...
18class BspEntity : public WorldEntity
19{
20
21 public:
22  BspEntity(const TiXmlElement* root = NULL);
23  virtual ~BspEntity();
24
25  virtual void loadParams(const TiXmlElement* root);
26
27  void setName(const std::string& name);
28
29  void init();
30
31  virtual void draw() const;
32  virtual void tick(float time);
33  virtual void collidesWith (WorldEntity* entity, const Vector& location);
34
35  /** @returns the BspManager of this entity */
36  inline BspManager* getBspManager() { return this->bspManager; }
37
38 private:
39   BspManager* bspManager;
40
41};
42
43#endif /* _BSP_ENTITY_H */
Note: See TracBrowser for help on using the repository browser.