Last change
on this file since 4436 was
4397,
checked in by bensch, 20 years ago
|
orxonox/trunk: ok… forces now apply to the right objects, but i don't really like the way it works…. we will see….
|
File size:
693 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 | |
---|
22 | virtual void tick (float time); |
---|
23 | virtual void hit (WorldEntity* weapon, Vector* loc); |
---|
24 | virtual void destroy (); |
---|
25 | virtual void collide (WorldEntity* other, Uint32 ownhitflags, Uint32 otherhitflags); |
---|
26 | virtual void draw (); |
---|
27 | |
---|
28 | private: |
---|
29 | /* TESTING TESTING TESTING */ |
---|
30 | t3DModel* model; |
---|
31 | MD2Model* md2Model; |
---|
32 | Material* material; |
---|
33 | |
---|
34 | }; |
---|
35 | |
---|
36 | #endif /* _TEST_ENTITY_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.