Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/resources/src/lib/physics/fields/gravity.h @ 7683

Last change on this file since 7683 was 6512, checked in by bensch, 19 years ago

orxonox/trunk: loadParams is now virtual.
ALL THE CLASSES HAVE TO CALL

SuperClass::loadParams(root);

isntead of:
static_cast<SuperClass*>(this)→loadParams(root);

which was quite stupid anyways

File size: 412 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 DECLARATION
13
14
15
16//! A class for ...
17class Gravity : public Field {
18
19 public:
20  Gravity(const TiXmlElement* root = NULL);
21  virtual ~Gravity();
22
23  virtual 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.