Last change
on this file since 4874 was
4597,
checked in by bensch, 19 years ago
|
orxonox/trunk: setClassID implemented in all files
|
File size:
731 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. |
---|
18 | enum DebugTerrain {TERRAIN_DAVE, TERRAIN_BENSCH}; |
---|
19 | |
---|
20 | |
---|
21 | //! A Class to handle Terrain of orxonox |
---|
22 | class Terrain : public WorldEntity |
---|
23 | { |
---|
24 | |
---|
25 | public: |
---|
26 | Terrain(); |
---|
27 | Terrain(const 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.