Code reorganizing
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
extends RichTextLabel
|
||||
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready() -> void:
|
||||
pass # Replace with function body.
|
||||
|
||||
|
||||
#Updates Middle Screen Info
|
||||
func update(day_count, floor_count, diagnoses_count, diagnoses_quota):
|
||||
var day = Globals.colorize(str(day_count), "dark_orange")
|
||||
var floor = Globals.colorize(str(floor_count), "dark_orange")
|
||||
var diagnoses = Globals.colorize(str(diagnoses_count) + "/" + str(diagnoses_quota), "dark_orange")
|
||||
|
||||
text = "DAY: " + day + "\n\nFLOOR: " + floor + "\n\nACCURATE DIAGNOSES: " + diagnoses
|
||||
Reference in New Issue
Block a user