Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.kfgeeks.java.Mapper;
- public class Island {
- private int islandHeight = 0;
- private int islandWidth = 0;
- private int maxWidth = 0;
- private int maxHeight = 0;
- private int minHeight = 0;
- private int minWidth = 0;
- Cell[][] islandCells;
- public int getHeight(){
- return islandHeight;
- }
- public int getWidth(){
- return islandWidth;
- }
- public void setHeight(int x){
- islandHeight = x;
- }
- public void setWidth(int x){
- islandWidth = x;
- }
- public void setMaxWidth(int x){
- maxWidth = x;
- }
- public void setMaxHeight(int x){
- maxHeight = x;
- }
- public int getMax_height(){
- return maxWidth;
- }
- public int getMax_width(){
- return maxHeight;
- }
- public void setMinWidth(int x){
- minWidth = x;
- }
- public void setMinHeight(int x){
- minHeight = x;
- }
- public int getMin_height(){
- return minWidth;
- }
- public int getMin_width(){
- return minHeight;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement