Last change
on this file since 4331 was
4276,
checked in by patrick, 20 years ago
|
orxonox/trunk: cleaned out the md2 model class, there is now only one model again
|
File size:
645 bytes
|
Line | |
---|
1 | #ifndef _TEST_ENTITY_H |
---|
2 | #define _TEST_ENTITY_H |
---|
3 | |
---|
4 | #include "world_entity.h" |
---|
5 | |
---|
6 | class MD2Loader; |
---|
7 | class MD2Model; |
---|
8 | class MD2Model2; |
---|
9 | struct t3DModel; |
---|
10 | class Material; |
---|
11 | |
---|
12 | class TestEntity : public WorldEntity |
---|
13 | { |
---|
14 | friend class World; |
---|
15 | |
---|
16 | public: |
---|
17 | TestEntity (); |
---|
18 | virtual ~TestEntity (); |
---|
19 | |
---|
20 | |
---|
21 | virtual void tick (float time); |
---|
22 | virtual void hit (WorldEntity* weapon, Vector* loc); |
---|
23 | virtual void destroy (); |
---|
24 | virtual void collide (WorldEntity* other, Uint32 ownhitflags, Uint32 otherhitflags); |
---|
25 | virtual void draw (); |
---|
26 | |
---|
27 | private: |
---|
28 | /* TESTING TESTING TESTING */ |
---|
29 | t3DModel* model; |
---|
30 | MD2Model* md2Model; |
---|
31 | Material* material; |
---|
32 | |
---|
33 | }; |
---|
34 | |
---|
35 | #endif /* _TEST_ENTITY_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.