localised resources and remaining scenes
This commit is contained in:
@@ -14,8 +14,8 @@ func set_amount(num: int) -> void:
|
||||
amount_label.text = "x" + str(num)
|
||||
|
||||
|
||||
func set_card(card: Card) -> void:
|
||||
self.card = card
|
||||
func set_card(new_card: Card) -> void:
|
||||
card = new_card
|
||||
icon.texture = card.icon
|
||||
cost_label.text = str(card.cost)
|
||||
for i: int in tags.get_child_count():
|
||||
|
||||
@@ -3,7 +3,7 @@ extends HBoxContainer
|
||||
|
||||
|
||||
func set_wave(wave: int) -> void:
|
||||
$WaveLabel.text = "Wave " + str(wave) + ": "
|
||||
$WaveLabel.text = tr("LABEL_WAVE").format({Wave_Number = str(wave)})
|
||||
|
||||
|
||||
func add_enemy_tag(enemy: Enemy, num: int) -> void:
|
||||
|
||||
@@ -7,4 +7,4 @@ script = ExtResource("1_lcu0c")
|
||||
|
||||
[node name="WaveLabel" type="Label" parent="."]
|
||||
layout_mode = 2
|
||||
text = "wave 1: "
|
||||
text = "LABEL_WAVE"
|
||||
|
||||
Reference in New Issue
Block a user