Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

orxonox/trunk: merged the new_class_id branche back to the trunk.
merged with command:
svn merge https://svn.orxonox.net/orxonox/branches/new_class_id trunk -r9683:HEAD
no conflicts… puh..

File size: 735 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  ObjectListDeclaration(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.