source:
orxonox.OLD/trunk/src/world_entities/satellite.h
@
5580
Last change on this file since 5580 was 5500, checked in by bensch, 19 years ago | |
---|---|
File size: 604 bytes |
Rev | Line | |
---|---|---|
[4597] | 1 | /*! |
[5039] | 2 | * @file world_entity.h |
[4836] | 3 | * Definition of the basic WorldEntity |
[3750] | 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 | ||
14 | class CharacterAttributes; | |
15 | class Model; | |
16 | ||
17 | ||
18 | //! Basic class from which all interactive stuff in the world is derived from | |
19 | class Satellite : public WorldEntity | |
[4597] | 20 | { |
[3750] | 21 | friend class World; |
22 | ||
23 | public: | |
24 | Satellite (Vector axis, float speed); | |
25 | virtual ~Satellite (); | |
26 | ||
[5500] | 27 | virtual void draw () const; |
[3750] | 28 | virtual void tick (float time); |
[4597] | 29 | |
[3750] | 30 | private: |
[4597] | 31 | Vector* axis; |
32 | float speed; | |
[3750] | 33 | |
[4597] | 34 | |
[3750] | 35 | }; |
36 | ||
37 | #endif /* _SATELLITE_H */ |
Note: See TracBrowser
for help on using the repository browser.