source:
orxonox.OLD/trunk/src/lib/physics/fields/gravity.h
@
10763
Last change on this file since 10763 was 9869, checked in by bensch, 18 years ago | |
---|---|
File size: 446 bytes |
Rev | Line | |
---|---|---|
[4728] | 1 | /*! |
[5039] | 2 | * @file gravity.h |
[4836] | 3 | * Definition of ... |
[3329] | 4 | |
[3245] | 5 | */ |
[1853] | 6 | |
[4180] | 7 | #ifndef _GRAVITY_H |
8 | #define _GRAVITY_H | |
[1853] | 9 | |
[4180] | 10 | #include "field.h" |
[1853] | 11 | |
[5405] | 12 | // FORWARD DECLARATION |
[3543] | 13 | |
14 | ||
[2036] | 15 | |
[4178] | 16 | //! A class for ... |
[4180] | 17 | class Gravity : public Field { |
[9869] | 18 | ObjectListDeclaration(Gravity); |
[1853] | 19 | |
[1904] | 20 | public: |
[4742] | 21 | Gravity(const TiXmlElement* root = NULL); |
[4180] | 22 | virtual ~Gravity(); |
[1853] | 23 | |
[6512] | 24 | virtual void loadParams(const TiXmlElement* root); |
[4728] | 25 | |
[4395] | 26 | virtual Vector calcForce(const Vector& data) const; |
[3245] | 27 | |
28 | private: | |
29 | ||
[1853] | 30 | }; |
31 | ||
[4180] | 32 | #endif /* _GRAVITY_H */ |
Note: See TracBrowser
for help on using the repository browser.