Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

trunk: different death animations

File size: 848 bytes
RevLine 
[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
7class MD2Loader;
8class MD2Model;
9class MD2Model2;
10struct t3DModel;
11class Material;
[6222]12class TiXmlElement;
[7071]13class WorldEntity;
[4245]14
[6278]15class TestEntity : public WorldEntity, public PhysicsInterface
[4245]16{
17  friend class World;
18
19 public:
20  TestEntity ();
[6222]21  TestEntity(const TiXmlElement* root);
[4245]22  virtual ~TestEntity ();
23
[6222]24  void init();
[6512]25  virtual void loadParams(const TiXmlElement* root);
[6222]26
[7071]27  void setAnim(int animationIndex, int animPlaybackMode);
[4488]28
[7069]29  void dieHard();
30
[4245]31  virtual void tick (float time);
[5087]32  virtual void collidesWith(WorldEntity* entity, const Vector& location);
[4245]33
34 private:
35  /* TESTING TESTING TESTING */
36  t3DModel* model;
37  MD2Model* md2Model;
38  Material* material;
39
[7071]40  WorldEntity* lastCollided;
41
[7113]42  bool bDeath;
[4245]43};
44
45#endif /* _TEST_ENTITY_H */
Note: See TracBrowser for help on using the repository browser.