source:
orxonox.OLD/orxonox/trunk/src/world_entities/terrain.h
@
4158
Last change on this file since 4158 was 3566, checked in by bensch, 20 years ago | |
---|---|
File size: 729 bytes |
Rev | Line | |
---|---|---|
[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. |
18 | enum DebugTerrain {TERRAIN_DAVE, TERRAIN_BENSCH}; | |
19 | ||
20 | ||
[3559] | 21 | //! A Class to handle Terrain of orxonox |
22 | class 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.