X-Git-Url: http://git.treefish.org/~alex/seamulator.git/blobdiff_plain/31e7aa23c4e95b5e37f33938e9bb47ea82a3f4d9..3a3ad62faa958b07f2a91b4b21e6cfa92309ba80:/watersurface.h diff --git a/watersurface.h b/watersurface.h index cf5829e..7882197 100644 --- a/watersurface.h +++ b/watersurface.h @@ -9,11 +9,15 @@ 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; + void draw() const; + void drawSingleTile(int x, int y) const; private: std::vector m_points; int m_size; + double m_unitLength; };