Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

trunk: md2 models now collide also

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