Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

orxonox/branches/md2_loader: now using the home brewed material class for the model - and it works just perfect! orxonox has a very powerfull material class./orxonox :D

File size: 659 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;
9class Material;
10
11class TestEntity : public WorldEntity
12{
13  friend class World;
14
15 public:
16  TestEntity ();
17  virtual ~TestEntity ();
18
19 
20  virtual void tick (float time);
21  virtual void hit (WorldEntity* weapon, Vector* loc);
22  virtual void destroy ();
23  virtual void collide (WorldEntity* other,  Uint32 ownhitflags, Uint32 otherhitflags);
24  virtual void draw ();
25
26 private:
27  /* TESTING TESTING TESTING */
28  t3DModel* model;
29  MD2Model* md2Model;
30
31  unsigned int* textureArray;
32  Material* material;
33
34};
35
36#endif /* _TEST_ENTITY_H */
Note: See TracBrowser for help on using the repository browser.