source:
orxonox.OLD/trunk/src/world_entities/test_entity.h
@
9911
Last change on this file since 9911 was 9869, checked in by bensch, 18 years ago | |
---|---|
File size: 889 bytes |
Rev | Line | |
---|---|---|
[4245] | 1 | #ifndef _TEST_ENTITY_H |
2 | #define _TEST_ENTITY_H | |
3 | ||
4 | #include "world_entity.h" | |
[4397] | 5 | #include "physics_interface.h" |
[4245] | 6 | |
7 | class MD2Loader; | |
8 | class MD2Model; | |
9 | class MD2Model2; | |
10 | struct t3DModel; | |
11 | class Material; | |
[6222] | 12 | class TiXmlElement; |
[7071] | 13 | class WorldEntity; |
[4245] | 14 | |
[6278] | 15 | class TestEntity : public WorldEntity, public PhysicsInterface |
[4245] | 16 | { |
[9869] | 17 | ObjectListDeclaration(TestEntity); |
[4245] | 18 | public: |
19 | TestEntity (); | |
[6222] | 20 | TestEntity(const TiXmlElement* root); |
[4245] | 21 | virtual ~TestEntity (); |
22 | ||
[6222] | 23 | void init(); |
[6512] | 24 | virtual void loadParams(const TiXmlElement* root); |
[6222] | 25 | |
[7071] | 26 | void setAnim(int animationIndex, int animPlaybackMode); |
[4488] | 27 | |
[9235] | 28 | virtual void destroy(WorldEntity* killer); |
[7069] | 29 | |
[4245] | 30 | virtual void tick (float time); |
[5087] | 31 | virtual void collidesWith(WorldEntity* entity, const Vector& location); |
[4245] | 32 | |
33 | private: | |
34 | /* TESTING TESTING TESTING */ | |
35 | t3DModel* model; | |
36 | MD2Model* md2Model; | |
37 | Material* material; | |
38 | ||
[7071] | 39 | WorldEntity* lastCollided; |
40 | ||
[7113] | 41 | bool bDeath; |
[4245] | 42 | }; |
43 | ||
44 | #endif /* _TEST_ENTITY_H */ |
Note: See TracBrowser
for help on using the repository browser.