Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/spaceshipcontrol/src/world_entities/satellite.h @ 6028

Last change on this file since 6028 was 5500, checked in by bensch, 19 years ago

orxonox/trunk: all the WorldEntities now have a const function to draw themselves

File size: 604 bytes
Line 
1/*!
2 * @file world_entity.h
3  *  Definition of the basic WorldEntity
4*/
5
6#ifndef _SATELLITE_H
7#define _SATELLITE_H
8
9#include "world_entity.h"
10#include "comincl.h"
11#include "resource_manager.h"
12
13
14class CharacterAttributes;
15class Model;
16
17
18//! Basic class from which all interactive stuff in the world is derived from
19class Satellite : public WorldEntity
20{
21  friend class World;
22
23 public:
24  Satellite (Vector axis, float speed);
25  virtual ~Satellite ();
26
27  virtual void draw () const;
28  virtual void tick (float time);
29
30 private:
31  Vector*       axis;
32  float         speed;
33
34
35};
36
37#endif /* _SATELLITE_H */
Note: See TracBrowser for help on using the repository browser.