Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/trunk/src/lib/physics/fields/gravity.h @ 6806

Last change on this file since 6806 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
RevLine 
[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]17class Gravity : public Field {
[1853]18
[1904]19 public:
[4742]20  Gravity(const TiXmlElement* root = NULL);
[4180]21  virtual ~Gravity();
[1853]22
[6512]23  virtual void loadParams(const TiXmlElement* root);
[4728]24
[4395]25  virtual Vector calcForce(const Vector& data) const;
[3245]26
27 private:
28
[1853]29};
30
[4180]31#endif /* _GRAVITY_H */
Note: See TracBrowser for help on using the repository browser.