Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 3566 was 3566, checked in by bensch, 19 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
RevLine 
[3245]1/*!
[3559]2    \file terrain.h
3    \brief Defines and handles the terrain of the World
[3329]4
[3559]5    \todo implement it
6
7    The terrain should either be build from a Model a OBJModel or from a HeightMap.
[3245]8*/
[1853]9
[3559]10#ifndef _TERRAIN_H
11#define _TERRAIN_H
[1853]12
[3559]13#include "world_entity.h"
[1853]14
[3543]15// FORWARD DEFINITION \\
16
[3564]17//! A simple method to call a desired debug world.
18enum DebugTerrain {TERRAIN_DAVE, TERRAIN_BENSCH};
19
20
[3559]21//! A Class to handle Terrain of orxonox
22class Terrain : public WorldEntity
23{
[3543]24
[1904]25 public:
[3559]26  Terrain();
[3566]27  Terrain(char* fileName);
[3564]28  Terrain(DebugTerrain debugTerrain);
[3559]29  virtual ~Terrain();
[3564]30  void init();
31 
32  void buildDebugTerrain(DebugTerrain debugTerrain);
[3559]33  virtual void draw();
[3245]34
35 private:
[3559]36  int objectList;
[1853]37};
38
[3559]39#endif /* _TERRAIN_H */
Note: See TracBrowser for help on using the repository browser.