Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/christmas_branche/src/world_entities/test_entity.h @ 6207

Last change on this file since 6207 was 6207, checked in by patrick, 18 years ago

christmas: test_entity is now also loadable and heavily used in the christmas branche

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