Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 9869 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
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{
[9869]17  ObjectListDeclaration(ModelEntity);
[6524]18 public:
[6968]19  ModelEntity(const TiXmlElement* root);
[6524]20
[6968]21  virtual ~ModelEntity();
[6524]22
[7048]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;
[6524]33};
34
[6968]35#endif  /* _MODEL_ENTITY_H */
[6524]36
37
38
Note: See TracBrowser for help on using the repository browser.