Skip to content

Commit 9e52af2

Browse files
Kyle GrageKyle Grage
authored andcommitted
Added stubs for buying all cornerpieces
1 parent 826f9ef commit 9e52af2

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed

include/Player.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,12 @@ class Player {
6969

7070
bool canBuyRoad();
7171
bool buyRoad();
72+
bool canBuySettlement();
73+
bool buySettlement();
74+
bool canBuyCity();
75+
bool buyCity();
76+
bool canBuyWonder();
77+
bool buyWonder();
7278

7379
void setWoodModifier();
7480
void setBrickModifier();

src/Player.cpp

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,30 @@ bool Player::buyRoad(){
116116
return false;
117117
}
118118

119+
bool Player::canBuySettlement(){
120+
return false;
121+
}
122+
123+
bool Player::buySettlement(){
124+
return false;
125+
}
126+
127+
bool Player::canBuyCity(){
128+
return false;
129+
}
130+
131+
bool Player::buyCity(){
132+
return false;
133+
}
134+
135+
bool Player::canBuyWonder(){
136+
return false;
137+
}
138+
139+
bool Player::buyWonder(){
140+
return false;
141+
}
142+
119143

120144

121145
/**

0 commit comments

Comments
 (0)