source:
orxonox.OLD/branches/2d-recalc/src/lib/physics/fields/gravity.h
@
5679
Last change on this file since 5679 was 5039, checked in by bensch, 19 years ago | |
---|---|
File size: 403 bytes |
Line | |
---|---|
1 | /*! |
2 | * @file gravity.h |
3 | * 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(const TiXmlElement* root = NULL); |
21 | virtual ~Gravity(); |
22 | |
23 | void loadParams(const TiXmlElement* root); |
24 | |
25 | virtual Vector calcForce(const Vector& data) const; |
26 | |
27 | private: |
28 | |
29 | }; |
30 | |
31 | #endif /* _GRAVITY_H */ |
Note: See TracBrowser
for help on using the repository browser.