1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
/* This file is part of the Spring engine (GPL v2 or later), see LICENSE.html */
#ifndef NULL_WATER_H
#define NULL_WATER_H
#include "IWater.h"
class CLuaWater : public IWater {
public:
CLuaWater() {}
void Draw() override;
void UpdateWater(CGame* game) override;
int GetID() const override { return WATER_RENDERER_LUA; }
const char* GetName() const override { return "lua"; }
private:
void DrawReflection(CGame* game);
void DrawRefraction(CGame* game);
};
#endif
|