Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/branches/textEngine/src/world_entities/terrain.h @ 3754

Last change on this file since 3754 was 3681, checked in by bensch, 20 years ago

orxonox/branches/textEngine: merged trunk here.
merged with command:
svn merge ../trunk textEngine -r 3467:HEAD
no conflicts

File size: 729 bytes
Line 
1/*!
2    \file terrain.h
3    \brief 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 \\
16
17//! A simple method to call a desired debug world.
18enum DebugTerrain {TERRAIN_DAVE, TERRAIN_BENSCH};
19
20
21//! A Class to handle Terrain of orxonox
22class Terrain : public WorldEntity
23{
24
25 public:
26  Terrain();
27  Terrain(char* fileName);
28  Terrain(DebugTerrain debugTerrain);
29  virtual ~Terrain();
30  void init();
31 
32  void buildDebugTerrain(DebugTerrain debugTerrain);
33  virtual void draw();
34
35 private:
36  int objectList;
37};
38
39#endif /* _TERRAIN_H */
Note: See TracBrowser for help on using the repository browser.