Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/trunk/src/world_entities/environments/model_entity.h @ 9777

Last change on this file since 9777 was 7048, checked in by bensch, 19 years ago

orxonox/trunk: modelEntity should now also be able to load momentum and movement

File size: 697 bytes
RevLine 
[6524]1/*!
[6970]2 * @file model_entity.h
[6968]3 *  Definition of the ModelEntity, that handles the Display of an atmosphere for orxonox.
[6524]4 */
5
[6968]6#ifndef _MODEL_ENTITY_H
7#define _MODEL_ENTITY_H
[6524]8
9/* INCLUDES */
10#include "world_entity.h"
11
12/* FORWARD DECLARATION */
13
[6968]14//! A Class to handle a ModelEntity
15class ModelEntity : public WorldEntity
[6524]16{
17 public:
[6968]18  ModelEntity(const TiXmlElement* root);
[6524]19
[6968]20  virtual ~ModelEntity();
[6524]21
[7048]22  virtual void loadParams(const TiXmlElement* root);
23
24  void setSpeed(float x, float y, float z);
25  void setMomentum (float angle, float x, float y, float z);
26
27  virtual void tick(float dt);
28
29  private:
30    Vector*           speed;
31    Quaternion*       momentum;
[6524]32};
33
[6968]34#endif  /* _MODEL_ENTITY_H */
[6524]35
36
37
Note: See TracBrowser for help on using the repository browser.