Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

orxonox/trunk: added some droids in the middle of the track to the left side. They die on shooting. Bensch: have some fun :D

File size: 801 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 hit (WorldEntity* weapon, Vector* loc);
25  virtual void destroy ();
26  virtual void collide (WorldEntity* other,  Uint32 ownhitflags, Uint32 otherhitflags);
[5087]27  virtual void collidesWith(WorldEntity* entity, const Vector& location);
[4245]28  virtual void draw ();
29
30 private:
31  /* TESTING TESTING TESTING */
32  t3DModel* model;
33  MD2Model* md2Model;
34  Material* material;
35
36};
37
38#endif /* _TEST_ENTITY_H */
Note: See TracBrowser for help on using the repository browser.