From 4ee37d0af87705933357a6577d971feaa78b7b43 Mon Sep 17 00:00:00 2001 From: Roman Gräf Date: Mon, 20 Apr 2020 20:55:12 +0200 Subject: kosten --- lib/building_interface.gd | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib') diff --git a/lib/building_interface.gd b/lib/building_interface.gd index b03d3d1..23daa3f 100644 --- a/lib/building_interface.gd +++ b/lib/building_interface.gd @@ -11,7 +11,9 @@ func _process(delta): func update_label(): var label : Label = $Label + var cost : Label = $Cost label.text = str(get_amount()) + cost.text = str(get_cost()) func get_cost() -> float: return floor(base_cost * pow(cost_multiplier, get_amount())) -- cgit