| 
                Last change
                  on this file since 7221 was
                  7193,
                  checked in by bensch, 20 years ago
           | 
        
        
          | 
               
orxonox/trunk: new style for resources (prework/movement) 
 
           | 
        
        | 
            File size:
            587 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 "util/loading/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 tick (float time); | 
|---|
| 28 |  | 
|---|
| 29 |  private: | 
|---|
| 30 |   Vector*       axis; | 
|---|
| 31 |   float         speed; | 
|---|
| 32 |  | 
|---|
| 33 |  | 
|---|
| 34 | }; | 
|---|
| 35 |  | 
|---|
| 36 | #endif /* _SATELLITE_H */ | 
|---|
       
      
      Note: See 
TracBrowser
        for help on using the repository browser.