#pragma once
+#include "watersurfacefwd.h"
+
#include <vector>
#include "surfacepoint.h"
class WaterSurface
{
public:
- WaterSurface(int size);
+ WaterSurface(int size, double unitLength);
SurfacePoint& at(int x, int y);
+ const SurfacePoint& at(int x, int y) const;
int size() const;
+ double unitLength() const;
+ void draw() const;
+ void drawSingleTile(int x, int y) const;
private:
std::vector<SurfacePoint> m_points;
int m_size;
+ double m_unitLength;
};