Last change
on this file since 8307 was
8186,
checked in by bensch, 19 years ago
|
trunk: merged the branche bsp_model back here
|
File size:
684 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 ... |
---|
18 | class 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 | private: |
---|
36 | BspManager* bspManager; |
---|
37 | |
---|
38 | }; |
---|
39 | |
---|
40 | #endif /* _BSP_ENTITY_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.