Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/trunk/src/world_entities/terrain.h @ 5077

Last change on this file since 5077 was 5039, checked in by bensch, 19 years ago

orxonox/trunk: useless stuff :)

File size: 886 bytes
Line 
1/*!
2 * @file terrain.h
3  *  Defines and handles the terrain of the World
4
5    @todo implement it
6
7    The terrain should either be build from a Model a OBJModel or from a HeightMap.
8*/
9
10#ifndef _TERRAIN_H
11#define _TERRAIN_H
12
13#include "world_entity.h"
14
15// FORWARD DEFINITION \\
16class TiXmlElement;
17class SpatialSeparation;
18
19//! A simple method to call a desired debug world.
20enum DebugTerrain {TERRAIN_DAVE, TERRAIN_BENSCH};
21
22
23//! A Class to handle Terrain of orxonox
24class Terrain : public WorldEntity
25{
26
27 public:
28  Terrain(const TiXmlElement* root = NULL);
29  Terrain(const char* fileName);
30  Terrain(DebugTerrain debugTerrain);
31  virtual ~Terrain();
32
33  void init();
34  void loadParams(const TiXmlElement* root);
35
36  void buildDebugTerrain(DebugTerrain debugTerrain);
37  virtual void draw();
38
39  public:
40    SpatialSeparation* ssp;
41
42 private:
43  int objectList;
44
45};
46
47#endif /* _TERRAIN_H */
Note: See TracBrowser for help on using the repository browser.