Last change
on this file since 6275 was
6222,
checked in by bensch, 19 years ago
|
orxonox/trunk: merged the christmas branche to the trunk
merged with command:
svn merge -r6165:HEAD christmas_branche/ ../trunk/
no conflicts
|
File size:
758 bytes
|
Line | |
---|
1 | #ifndef _TEST_ENTITY_H |
---|
2 | #define _TEST_ENTITY_H |
---|
3 | |
---|
4 | #include "world_entity.h" |
---|
5 | #include "physics_interface.h" |
---|
6 | |
---|
7 | class MD2Loader; |
---|
8 | class MD2Model; |
---|
9 | class MD2Model2; |
---|
10 | struct t3DModel; |
---|
11 | class Material; |
---|
12 | class TiXmlElement; |
---|
13 | |
---|
14 | class TestEntity : public WorldEntity, PhysicsInterface |
---|
15 | { |
---|
16 | friend class World; |
---|
17 | |
---|
18 | public: |
---|
19 | TestEntity (); |
---|
20 | TestEntity(const TiXmlElement* root); |
---|
21 | virtual ~TestEntity (); |
---|
22 | |
---|
23 | void init(); |
---|
24 | void loadParams(const TiXmlElement* root); |
---|
25 | |
---|
26 | void setAnim(int animationIndex); |
---|
27 | |
---|
28 | virtual void tick (float time); |
---|
29 | virtual void collidesWith(WorldEntity* entity, const Vector& location); |
---|
30 | virtual void draw () const; |
---|
31 | |
---|
32 | private: |
---|
33 | /* TESTING TESTING TESTING */ |
---|
34 | t3DModel* model; |
---|
35 | MD2Model* md2Model; |
---|
36 | Material* material; |
---|
37 | |
---|
38 | }; |
---|
39 | |
---|
40 | #endif /* _TEST_ENTITY_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.