-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMap.java
More file actions
executable file
·31 lines (29 loc) · 939 Bytes
/
Map.java
File metadata and controls
executable file
·31 lines (29 loc) · 939 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/**
* Write a description of class Map here.
*
* @author (your name)
* @version (a version number or a date)
*/
public class Map
{
// instance variables - replace the example below with your own
public static int [][]grid = {{1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1},
{1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1},
{1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1},
{1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1},
{1,0,0,0,0,0,1,1,1,1,1,0,0,1,0,1},
{1,0,0,0,0,0,0,0,0,0,1,0,0,1,0,1},
{1,0,0,0,1,1,0,0,0,0,1,1,1,1,0,1},
{1,0,0,0,0,1,1,0,0,0,1,0,0,0,0,1},
{1,0,0,0,0,0,1,0,0,0,1,0,0,0,0,1},
{1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1},
{1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1},
{1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1},
{1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}};
/**
* Constructor for objects of class Map
*/
public Map()
{
}
}