Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/trunk/src/world_entities/test_entity.h @ 8734

Last change on this file since 8734 was 8724, checked in by bensch, 18 years ago

merged the bsp-model-stuff back here

File size: 825 bytes
Line 
1#ifndef _TEST_ENTITY_H
2#define _TEST_ENTITY_H
3
4#include "world_entity.h"
5#include "physics_interface.h"
6
7class MD2Loader;
8class MD2Model;
9class MD2Model2;
10struct t3DModel;
11class Material;
12class TiXmlElement;
13class WorldEntity;
14
15class TestEntity : public WorldEntity, public PhysicsInterface
16{
17 public:
18  TestEntity ();
19  TestEntity(const TiXmlElement* root);
20  virtual ~TestEntity ();
21
22  void init();
23  virtual void loadParams(const TiXmlElement* root);
24
25  void setAnim(int animationIndex, int animPlaybackMode);
26
27  void dieHard();
28
29  virtual void tick (float time);
30  virtual void collidesWith(WorldEntity* entity, const Vector& location);
31
32 private:
33  /* TESTING TESTING TESTING */
34  t3DModel* model;
35  MD2Model* md2Model;
36  Material* material;
37
38  WorldEntity* lastCollided;
39
40  bool bDeath;
41};
42
43#endif /* _TEST_ENTITY_H */
Note: See TracBrowser for help on using the repository browser.