Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/trunk/src/world_entities/test_entity2.h @ 10594

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

merged the branche playability into the trunk

File size: 606 bytes
Line 
1#ifndef _TEST_ENTITY_H
2#define _TEST_ENTITY_H
3
4#include "world_entity.h"
5
6class TiXmlElement;
7class Material;
8
9class TestEntity2 : public WorldEntity
10{
11    ObjectListDeclaration(TestEntity2);
12
13  public:
14    TestEntity2 ();
15    TestEntity2(const TiXmlElement* root);
16    virtual ~TestEntity2 ();
17
18    void init();
19    virtual void loadParams(const TiXmlElement* root);
20
21
22    virtual void tick (float time);
23    virtual void draw() const;
24
25  private:
26    virtual void updateAngle();
27
28    Material*       material;
29    float           angle;
30    float           rotationSpeed;
31};
32
33#endif /* _TEST_ENTITY_H */
Note: See TracBrowser for help on using the repository browser.