Last change
on this file since 4151 was
3750,
checked in by patrick, 20 years ago
|
orxonox/trunk: made some sattelite object just for fun and to show on the convention tomarrow
|
File size:
597 bytes
|
Line | |
---|
1 | /*! |
---|
2 | \file world_entity.h |
---|
3 | \brief 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 | |
---|
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 |
---|
20 | { |
---|
21 | friend class World; |
---|
22 | |
---|
23 | public: |
---|
24 | Satellite (Vector axis, float speed); |
---|
25 | virtual ~Satellite (); |
---|
26 | |
---|
27 | virtual void draw (); |
---|
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.