source:
orxonox.OLD/trunk/src/world_entities/bsp_entity.h
@
8458
Last change on this file since 8458 was 8186, checked in by bensch, 18 years ago | |
---|---|
File size: 684 bytes |
Rev | Line | |
---|---|---|
[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 ... |
[8081] | 18 | class BSPEntity : public WorldEntity |
[3559] | 19 | { |
[8081] | 20 | |
[1904] | 21 | public: |
[8081] | 22 | BSPEntity(const TiXmlElement* root = NULL); |
23 | virtual ~BSPEntity(); | |
[4838] | 24 | |
[6512] | 25 | virtual void loadParams(const TiXmlElement* root); |
[8081] | 26 | |
27 | void setName(const std::string& name); | |
28 | ||
[3564] | 29 | void init(); |
[4838] | 30 | |
[5509] | 31 | virtual void draw() const; |
[3762] | 32 | virtual void tick(float time); |
[5509] | 33 | virtual void collidesWith (WorldEntity* entity, const Vector& location); |
[3245] | 34 | |
35 | private: | |
[8081] | 36 | BspManager* bspManager; |
[3761] | 37 | |
[1853] | 38 | }; |
39 | ||
[8081] | 40 | #endif /* _BSP_ENTITY_H */ |
Note: See TracBrowser
for help on using the repository browser.