Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

merged the branche playability into the trunk

File size: 606 bytes
RevLine 
[9969]1#ifndef _TEST_ENTITY_H
2#define _TEST_ENTITY_H
3
4#include "world_entity.h"
5
6class TiXmlElement;
[9974]7class Material;
[9969]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
[9974]25  private:
[9989]26    virtual void updateAngle();
27
[9974]28    Material*       material;
[9989]29    float           angle;
30    float           rotationSpeed;
[9969]31};
32
33#endif /* _TEST_ENTITY_H */
Note: See TracBrowser for help on using the repository browser.