]> git.treefish.org Git - seamulator.git/blob - watersurface.h
cf5829e02555e29651ea41b36798245e3ccb8807
[seamulator.git] / watersurface.h
1 #pragma once
2
3 #include "watersurfacefwd.h"
4
5 #include <vector>
6
7 #include "surfacepoint.h"
8
9 class WaterSurface
10 {
11  public:
12   WaterSurface(int size);
13   SurfacePoint& at(int x, int y);
14   int size() const;
15
16  private:
17   std::vector<SurfacePoint> m_points;
18   int m_size;
19 };