mirror of
https://github.com/Steffo99/swear-jar.git
synced 2024-11-22 07:44:17 +00:00
Delete unused Scoreboard
This commit is contained in:
parent
3e97579a4e
commit
4f2a16113e
2 changed files with 0 additions and 37 deletions
|
@ -1,14 +0,0 @@
|
||||||
extends Control
|
|
||||||
|
|
||||||
class_name ScoreBoard
|
|
||||||
|
|
||||||
@export var score: int = 0
|
|
||||||
|
|
||||||
func _ready():
|
|
||||||
$Label.text = "Score: " + str(score)
|
|
||||||
|
|
||||||
func _process(delta):
|
|
||||||
pass
|
|
||||||
|
|
||||||
func _on_evaluator_score_changed(total_value):
|
|
||||||
$Label.text = "Score: " + str(total_value)
|
|
|
@ -1,23 +0,0 @@
|
||||||
[gd_scene load_steps=2 format=3 uid="uid://bokcnc0q0qqj3"]
|
|
||||||
|
|
||||||
[ext_resource type="Script" path="res://score/scoreboard.gd" id="1_of77n"]
|
|
||||||
|
|
||||||
[node name="Control" type="Control"]
|
|
||||||
layout_mode = 3
|
|
||||||
anchors_preset = 15
|
|
||||||
anchor_right = 1.0
|
|
||||||
anchor_bottom = 1.0
|
|
||||||
grow_horizontal = 2
|
|
||||||
grow_vertical = 2
|
|
||||||
script = ExtResource("1_of77n")
|
|
||||||
|
|
||||||
[node name="Label" type="Label" parent="."]
|
|
||||||
layout_mode = 0
|
|
||||||
offset_right = 40.0
|
|
||||||
offset_bottom = 23.0
|
|
||||||
text = "SCORE: "
|
|
||||||
|
|
||||||
[node name="VSlider" type="VSlider" parent="."]
|
|
||||||
layout_mode = 0
|
|
||||||
offset_right = 16.0
|
|
||||||
offset_bottom = 8.0
|
|
Loading…
Reference in a new issue