Last change
on this file since 5399 was
5087,
checked in by patrick, 19 years ago
|
orxonox/trunk: added some droids in the middle of the track to the left side. They die on shooting. Bensch: have some fun
|
File size:
801 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 | |
---|
13 | class TestEntity : public WorldEntity, PhysicsInterface |
---|
14 | { |
---|
15 | friend class World; |
---|
16 | |
---|
17 | public: |
---|
18 | TestEntity (); |
---|
19 | virtual ~TestEntity (); |
---|
20 | |
---|
21 | void setAnim(int animationIndex); |
---|
22 | |
---|
23 | virtual void tick (float time); |
---|
24 | virtual void hit (WorldEntity* weapon, Vector* loc); |
---|
25 | virtual void destroy (); |
---|
26 | virtual void collide (WorldEntity* other, Uint32 ownhitflags, Uint32 otherhitflags); |
---|
27 | virtual void collidesWith(WorldEntity* entity, const Vector& location); |
---|
28 | virtual void draw (); |
---|
29 | |
---|
30 | private: |
---|
31 | /* TESTING TESTING TESTING */ |
---|
32 | t3DModel* model; |
---|
33 | MD2Model* md2Model; |
---|
34 | Material* material; |
---|
35 | |
---|
36 | }; |
---|
37 | |
---|
38 | #endif /* _TEST_ENTITY_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.