Purchase Shade on properties
This commit is contained in:
parent
10ac18ab6e
commit
ec3ae78570
|
|
@ -414,11 +414,11 @@ export default class MonopolyGame extends Phaser.Scene {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (own.owner !== null) {
|
if (own.owner !== null) {
|
||||||
// Owner color dot in top corner
|
// Subtle ownership tint over the cream background
|
||||||
const geo = spaceGeometry(idx);
|
const geo = spaceGeometry(idx);
|
||||||
const bx = BL + geo.x, by = BT + geo.y;
|
const bx = BL + geo.x, by = BT + geo.y;
|
||||||
g.fillStyle(PLAYER_COLORS[own.owner], 1);
|
g.fillStyle(PLAYER_COLORS[own.owner], 0.20);
|
||||||
g.fillCircle(bx + geo.w - 7, by + 7, 5);
|
g.fillRect(bx, by, geo.w, geo.h);
|
||||||
}
|
}
|
||||||
if (own.hotel) {
|
if (own.hotel) {
|
||||||
this.drawHotelOnSpace(g, idx);
|
this.drawHotelOnSpace(g, idx);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue