|
Last change
on this file since 10589 was
10571,
checked in by bensch, 19 years ago
|
|
cleaned out unused defs files, and moved glincl to grafics, alincl.h to sound
|
|
File size:
536 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 | |
|---|
| 11 | class CharacterAttributes; |
|---|
| 12 | class Model; |
|---|
| 13 | |
|---|
| 14 | |
|---|
| 15 | //! Basic class from which all interactive stuff in the world is derived from |
|---|
| 16 | class Satellite : public WorldEntity |
|---|
| 17 | { |
|---|
| 18 | ObjectListDeclaration(Satellite); |
|---|
| 19 | |
|---|
| 20 | public: |
|---|
| 21 | Satellite (Vector axis, float speed); |
|---|
| 22 | virtual ~Satellite (); |
|---|
| 23 | |
|---|
| 24 | virtual void tick (float time); |
|---|
| 25 | |
|---|
| 26 | private: |
|---|
| 27 | Vector* axis; |
|---|
| 28 | float speed; |
|---|
| 29 | |
|---|
| 30 | |
|---|
| 31 | }; |
|---|
| 32 | |
|---|
| 33 | #endif /* _SATELLITE_H */ |
|---|
Note: See
TracBrowser
for help on using the repository browser.