source:
orxonox.OLD/orxonox/branches/md2_loader/src/world_entities/test_entity.h
@
4158
Last change on this file since 4158 was 4158, checked in by patrick, 19 years ago | |
---|---|
File size: 659 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 | struct t3DModel; |
9 | class Material; |
10 | |
11 | class TestEntity : public WorldEntity |
12 | { |
13 | friend class World; |
14 | |
15 | public: |
16 | TestEntity (); |
17 | virtual ~TestEntity (); |
18 | |
19 | |
20 | virtual void tick (float time); |
21 | virtual void hit (WorldEntity* weapon, Vector* loc); |
22 | virtual void destroy (); |
23 | virtual void collide (WorldEntity* other, Uint32 ownhitflags, Uint32 otherhitflags); |
24 | virtual void draw (); |
25 | |
26 | private: |
27 | /* TESTING TESTING TESTING */ |
28 | t3DModel* model; |
29 | MD2Model* md2Model; |
30 | |
31 | unsigned int* textureArray; |
32 | Material* material; |
33 | |
34 | }; |
35 | |
36 | #endif /* _TEST_ENTITY_H */ |
Note: See TracBrowser
for help on using the repository browser.