14 |
final static int NORTH = 2; |
final static int NORTH = 2; |
15 |
final static int SOUTH = 3; |
final static int SOUTH = 3; |
16 |
|
|
17 |
Location leftUpper; |
private Location leftUpper; |
18 |
|
|
19 |
|
|
20 |
Location blocks[][]; // [width][height] - [0][0] == leftUpper |
private Location blocks[][]; // [width][height] - [0][0] == leftUpper |
21 |
|
|
22 |
int material; |
private int material; |
23 |
|
|
24 |
int direction; |
private int direction; |
25 |
|
|
26 |
int width; |
private int width; |
27 |
int height; |
private int height; |
28 |
|
|
29 |
String owner; |
private String owner; |
30 |
|
|
31 |
|
|
32 |
public Door(Block sign, int width, int height, DoorStorage store, String owner) throws ConflictingDoorException{ |
public Door(Block sign, int width, int height, DoorStorage store, String owner) throws ConflictingDoorException{ |
181 |
} |
} |
182 |
} |
} |
183 |
|
|
184 |
|
|
185 |
|
/////// setters and getters |
186 |
|
public String getOwner() { |
187 |
|
return owner; |
188 |
|
} |
189 |
|
|
190 |
} |
} |