-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathTester.java
More file actions
43 lines (33 loc) · 1.31 KB
/
Copy pathTester.java
File metadata and controls
43 lines (33 loc) · 1.31 KB
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
43
public class Tester {
public static void main(String args[])
{
Game game = new Game(3);
Deck deck = new Deck();
Player p1 = new Player();
DebtCollectorActionCard dc = new DebtCollectorActionCard();
DoubleTheRentActionCard dr = new DoubleTheRentActionCard();
ForcedDealActionCard fd = new ForcedDealActionCard();
SlyDealActionCard sd = new SlyDealActionCard();
BirthdayActionCard b = new BirthdayActionCard();
NormalRentActionCard blueGreenRent =
new NormalRentActionCard(PropertyColor.BLUE, PropertyColor.GREEN);
RainbowRentActionCard rainbowRent = new RainbowRentActionCard();
NormalPropertyCard boardwalk =
new NormalPropertyCard(PropertyColor.BLUE);
WildPropertyCard w = new WildPropertyCard(PropertyColor.BLUE, PropertyColor.GREEN);
w.setCurrColor(PropertyColor.BLUE);
System.out.println(w.getValue());
System.out.println(w.getCurrColor());
w.setCurrColor(PropertyColor.GREEN);
System.out.println(w.getCurrColor());
RainbowPropertyCard r = new RainbowPropertyCard();
r.setCurrColor(PropertyColor.PINK);
System.out.println(r.getCurrColor());
r.setCurrColor(PropertyColor.RED);
System.out.println(r.getCurrColor());
System.out.println(r.getValue());
System.out.println(r.getName());
System.out.println(r.getCanPutInBank());
ForeclosureActionCard f = new ForeclosureActionCard();
}
}