| 
                Last change
                  on this file since 4734 was
                  4728,
                  checked in by bensch, 20 years ago
           | 
        
        
          | 
               
orxonox/trunk: more loading (especially for physics) 
 
           | 
        
        | 
            File size:
            416 bytes
           | 
      
      
        
  | Line |   | 
|---|
| 1 | /*! | 
|---|
| 2 |     \file gravity.h | 
|---|
| 3 |     \brief Definition of ... | 
|---|
| 4 |  | 
|---|
| 5 | */ | 
|---|
| 6 |  | 
|---|
| 7 | #ifndef _GRAVITY_H | 
|---|
| 8 | #define _GRAVITY_H | 
|---|
| 9 |  | 
|---|
| 10 | #include "field.h" | 
|---|
| 11 |  | 
|---|
| 12 | // FORWARD DEFINITION | 
|---|
| 13 |  | 
|---|
| 14 |  | 
|---|
| 15 |  | 
|---|
| 16 | //! A class for ... | 
|---|
| 17 | class Gravity : public Field { | 
|---|
| 18 |  | 
|---|
| 19 |  public: | 
|---|
| 20 |   Gravity(); | 
|---|
| 21 |   Gravity(const TiXmlElement* root); | 
|---|
| 22 |   virtual ~Gravity(); | 
|---|
| 23 |  | 
|---|
| 24 |   void loadParams(const TiXmlElement* root); | 
|---|
| 25 |  | 
|---|
| 26 |   virtual Vector calcForce(const Vector& data) const; | 
|---|
| 27 |  | 
|---|
| 28 |  private: | 
|---|
| 29 |  | 
|---|
| 30 | }; | 
|---|
| 31 |  | 
|---|
| 32 | #endif /* _GRAVITY_H */ | 
|---|
       
      
      Note: See 
TracBrowser
        for help on using the repository browser.