skeleton: Added initial skeleton files
This commit is contained in:
15
src/comp1110/ass2/skeleton/island.java
Normal file
15
src/comp1110/ass2/skeleton/island.java
Normal file
@@ -0,0 +1,15 @@
|
||||
package comp1110.ass2.skeleton;
|
||||
|
||||
public class island {
|
||||
public final int width;
|
||||
public final int height;
|
||||
public tile[][] tiles;
|
||||
public final int score;
|
||||
|
||||
public island(int width, int height, int score) {
|
||||
this.width = width;
|
||||
this.height = height;
|
||||
this.score = score;
|
||||
this.tiles = new tile[width][height];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user