use balance to purchase

This commit is contained in:
ntr
2019-03-14 23:40:06 +11:00
parent 2c89db4f01
commit c2fe8f779e
2 changed files with 50 additions and 7 deletions
+3 -3
View File
@@ -152,9 +152,9 @@ class ItemList extends Phaser.Scene {
drawInventory(graphics);
drawVbox(graphics);
this.add.text(X + WIDTH * 0.1, Y, 'Inventory', TEXT.HEADER);
this.add.text(X + WIDTH * 0.47, Y, 'Combiner', TEXT.HEADER);
this.add.text(X + WIDTH * 0.35, Y + HEIGHT / 2, 'Varibox', TEXT.HEADER);
this.add.text(X + WIDTH * 0.1, Y, 'inventory', TEXT.HEADER);
this.add.text(X + WIDTH * 0.47, Y, 'iCombinator', TEXT.HEADER);
this.add.text(X + WIDTH * 0.35, Y + HEIGHT / 2, `vBox - ${vbox.bits}b`, TEXT.HEADER);
const reroll = this.add
.rectangle(WIDTH * 0.01, Y + HEIGHT * 0.775, ITEM_WIDTH * 1.25, ITEM_HEIGHT * 1.25, 0x222222)