Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 5420 was 5405, checked in by bensch, 19 years ago

orxonox/trunk: renamed definition to the right term declaration…

File size: 863 bytes
RevLine 
[4597]1/*!
[5039]2 * @file terrain.h
[4836]3  *  Defines and handles the terrain of the World
[3329]4
[4836]5    @todo implement it
[3559]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
[5405]15// FORWARD DECLARATION
[4889]16class SpatialSeparation;
[3543]17
[3564]18//! A simple method to call a desired debug world.
19enum DebugTerrain {TERRAIN_DAVE, TERRAIN_BENSCH};
20
21
[3559]22//! A Class to handle Terrain of orxonox
[4597]23class Terrain : public WorldEntity
[3559]24{
[3543]25
[1904]26 public:
[4607]27  Terrain(const TiXmlElement* root = NULL);
[4597]28  Terrain(const char* fileName);
[3564]29  Terrain(DebugTerrain debugTerrain);
[4746]30  virtual ~Terrain();
[4597]31
[4746]32  void init();
[4607]33  void loadParams(const TiXmlElement* root);
34
[3564]35  void buildDebugTerrain(DebugTerrain debugTerrain);
[3559]36  virtual void draw();
[3245]37
[4919]38  public:
39    SpatialSeparation* ssp;
40
[3245]41 private:
[3559]42  int objectList;
[1853]43};
44
[3559]45#endif /* _TERRAIN_H */
Note: See TracBrowser for help on using the repository browser.