| 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 |  | 
|---|
| 12 | class CharacterAttributes; | 
|---|
| 13 | class Model; | 
|---|
| 14 |  | 
|---|
| 15 |  | 
|---|
| 16 | //! Basic class from which all interactive stuff in the world is derived from | 
|---|
| 17 | class Satellite : public WorldEntity | 
|---|
| 18 | { | 
|---|
| 19 |   ObjectListDeclaration(Satellite); | 
|---|
| 20 |  | 
|---|
| 21 |  public: | 
|---|
| 22 |   Satellite (Vector axis, float speed); | 
|---|
| 23 |   virtual ~Satellite (); | 
|---|
| 24 |  | 
|---|
| 25 |   virtual void tick (float time); | 
|---|
| 26 |  | 
|---|
| 27 |  private: | 
|---|
| 28 |   Vector*       axis; | 
|---|
| 29 |   float         speed; | 
|---|
| 30 |  | 
|---|
| 31 |  | 
|---|
| 32 | }; | 
|---|
| 33 |  | 
|---|
| 34 | #endif /* _SATELLITE_H */ | 
|---|
       
      
      Note: See 
TracBrowser
        for help on using the repository browser.