X-Git-Url: http://git.treefish.org/~alex/seamulator.git/blobdiff_plain/31e7aa23c4e95b5e37f33938e9bb47ea82a3f4d9..444591b1b4dcd7ea0fa37b6db29ac20d4722a72c:/watersurface.h?ds=inline diff --git a/watersurface.h b/watersurface.h index cf5829e..31e0e60 100644 --- a/watersurface.h +++ b/watersurface.h @@ -9,11 +9,16 @@ 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 m_points; int m_size; + double m_unitLength; };