Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/branches/openAL/src/world_entities/terrain.h @ 4225

Last change on this file since 4225 was 3566, checked in by bensch, 20 years ago

orxonox/trunk: updated the terrain class to more functionality
view goes farther 2000 instead of 250
model gets deleted by world_entity instead of childs

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.