-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathSquare.java
More file actions
42 lines (35 loc) · 837 Bytes
/
Square.java
File metadata and controls
42 lines (35 loc) · 837 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
32
33
34
35
36
37
38
39
40
41
42
import java.util.ArrayList;
//siobhan wrote this...
public class Square
{
private Player player;
private BlueCard blueCard;
private String drillMapKey;
public Square() {
this.player = null;
this.blueCard = null;
this.drillMapKey = null;
}
public Player getPlayer() {
return player;
}
public void setPlayer(Player player) {
this.player = player;
}
public BlueCard getBlueCard() {
return blueCard;
}
public void setBlueCard(BlueCard blueCard) {
this.blueCard = blueCard;
}
public String getDrillMapKey() {
return drillMapKey;
}
public void setDrillMapKey(String drillMapKey) {
this.drillMapKey = drillMapKey;
}
@Override
public String toString() {
return "Square [blueCard=" + blueCard + ", drillMapKey=" + drillMapKey + "]";
}
}