Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/blink/src/world_entities/environments/rotor.h @ 10727

Last change on this file since 10727 was 10276, checked in by bknecht, 18 years ago

added a rotateable element class :D

File size: 675 bytes
Line 
1/*!
2 * @file rotor.h
3 *  Rotor is a object which rotates around a given adress with a given speed
4 */
5
6#ifndef _ROTOR_H
7#define _ROTOR_H
8
9/* INCLUDES */
10#include "world_entity.h"
11
12/* FORWARD DECLARATION */
13
14//! A Class to handle a Building
15class Rotor : public WorldEntity
16{
17  ObjectListDeclaration(Rotor);
18  public:
19    Rotor(const TiXmlElement* root);
20
21    virtual ~Rotor();
22 
23    virtual void loadParams(const TiXmlElement* root);
24 
25    void initRotation(float x, float y, float z);
26   
27    virtual void tick(float time);
28 
29  private:
30    Vector              rotation;         //!< the rotation axis
31
32};
33
34#endif  /* _ROTOR_H */
35
36
37
Note: See TracBrowser for help on using the repository browser.