Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/new_class_id/src/world_entities/environments/model_entity.h @ 9709

Last change on this file since 9709 was 9709, checked in by bensch, 18 years ago

orxonox/branches/new_class_id: new_class ID working, adapdet many classes, and reinvented some of the ClassID stuff

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