Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/branches/md2_loader/src/world_entities/test_entity.h @ 4157

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

orxonox/branches/md2_loader: modified the texture loader to use the sdl-image libraries, this will use material/texture classes from orxonox later

File size: 621 bytes
Line 
1#ifndef _TEST_ENTITY_H
2#define _TEST_ENTITY_H
3
4#include "world_entity.h"
5
6class MD2Loader;
7class MD2Model;
8struct t3DModel;
9
10class TestEntity : public WorldEntity
11{
12  friend class World;
13
14 public:
15  TestEntity ();
16  virtual ~TestEntity ();
17
18 
19  virtual void tick (float time);
20  virtual void hit (WorldEntity* weapon, Vector* loc);
21  virtual void destroy ();
22  virtual void collide (WorldEntity* other,  Uint32 ownhitflags, Uint32 otherhitflags);
23  virtual void draw ();
24
25 private:
26  /* TESTING TESTING TESTING */
27  t3DModel* model;
28  MD2Model* md2Model;
29
30  unsigned int* textureArray;
31
32};
33
34#endif /* _TEST_ENTITY_H */
Note: See TracBrowser for help on using the repository browser.