-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathVillage.java
More file actions
40 lines (30 loc) · 745 Bytes
/
Village.java
File metadata and controls
40 lines (30 loc) · 745 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
/**
*@author Tyler Lericos
*@version 1.0
*Interfaces
*Spring Semester/Freshman
*/
public class Village extends Places{
Shop shop;
Tavern tavern;
public Village() {
// TODO Auto-generated constructor stub
}
public Village(String placeName, String flavorText, Shop shop, Tavern tavern, Item item, Player player,Enemy enemy,boolean isLocked,Item key) {
super(placeName, flavorText, item,player, enemy,isLocked, key);
this.shop = shop;
this.tavern = tavern;
}
public Shop getShop() {
return shop;
}
public void setShop(Shop shop) {
this.shop = shop;
}
public Tavern getTavern() {
return tavern;
}
public void setTavern(Tavern tavern) {
this.tavern = tavern;
}
}