Last change
on this file since 7679 was
7672,
checked in by stefalie, 19 years ago
|
branches/water: added files for mapped water
|
File size:
533 bytes
|
Line | |
---|
1 | /*! |
---|
2 | * @file mapped_water.h |
---|
3 | * |
---|
4 | */ |
---|
5 | |
---|
6 | #ifndef _MAPPED_WATER_H |
---|
7 | #define _MAPPED_WATER_H |
---|
8 | |
---|
9 | /* INCLUDES */ |
---|
10 | #include "world_entity.h" |
---|
11 | #include "material.h" |
---|
12 | |
---|
13 | |
---|
14 | class MappedWater : public WorldEntity |
---|
15 | { |
---|
16 | public: |
---|
17 | MappedWater(const TiXmlElement* root = NULL); |
---|
18 | virtual ~MappedWater(); |
---|
19 | |
---|
20 | void loadParams(const TiXmlElement* root); |
---|
21 | |
---|
22 | void draw() const; |
---|
23 | void tick(float dt); |
---|
24 | |
---|
25 | private: |
---|
26 | void setHeight(float height); |
---|
27 | |
---|
28 | private: |
---|
29 | float waterHeight; //!< y-coord of the Water |
---|
30 | |
---|
31 | }; |
---|
32 | |
---|
33 | #endif /* _MAPPED_WATER_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.