| | |
| | | } |
| | | |
| | | public static class Terrain { |
| | | int maxHeight; |
| | | |
| | | int maxWidth; |
| | | |
| | | int maxHeight; |
| | | |
| | | public Terrain() { |
| | | } |
| | | |
| | | public Terrain(int maxHeight, int maxWidth) { |
| | | this.maxHeight = maxHeight; |
| | | public Terrain(int maxWidth, int maxHeight) { |
| | | this.maxWidth = maxWidth; |
| | | this.maxHeight = maxHeight; |
| | | } |
| | | |
| | | public int getMaxHeight() { |
| | |
| | | } |
| | | |
| | | public static class Water { |
| | | int maxHeight; |
| | | |
| | | int maxWidth; |
| | | |
| | | int maxHeight; |
| | | |
| | | List<Long> data; |
| | | |
| | | public Water() { |
| | | } |
| | | |
| | | public Water(int maxHeight, int maxWidth, List<Long> data) { |
| | | this.maxHeight = maxHeight; |
| | | public Water(int maxWidth, int maxHeight, List<Long> data) { |
| | | this.maxWidth = maxWidth; |
| | | this.maxHeight = maxHeight; |
| | | this.data = data; |
| | | } |
| | | |