Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/bsp_model/src/world_entities/test_entity.h @ 7850

Last change on this file since 7850 was 7113, checked in by patrick, 19 years ago

trunk: different death animations

File size: 848 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  friend class World;
18
19 public:
20  TestEntity ();
21  TestEntity(const TiXmlElement* root);
22  virtual ~TestEntity ();
23
24  void init();
25  virtual void loadParams(const TiXmlElement* root);
26
27  void setAnim(int animationIndex, int animPlaybackMode);
28
29  void dieHard();
30
31  virtual void tick (float time);
32  virtual void collidesWith(WorldEntity* entity, const Vector& location);
33
34 private:
35  /* TESTING TESTING TESTING */
36  t3DModel* model;
37  MD2Model* md2Model;
38  Material* material;
39
40  WorldEntity* lastCollided;
41
42  bool bDeath;
43};
44
45#endif /* _TEST_ENTITY_H */
Note: See TracBrowser for help on using the repository browser.