Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 6133 was 5500, checked in by bensch, 19 years ago

orxonox/trunk: all the WorldEntities now have a const function to draw themselves

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