summaryrefslogtreecommitdiffhomepage
path: root/Racing-Game/Interface/RichTextLabel.gd
blob: 99856bd278105ae257bb45caddabd291b318b9c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
extends RichTextLabel

# Declare member variables here. Examples:
# var a = 2
# var b = "text"

# Called when the node enters the scene tree for the first time.
func _ready():
	pass
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta):
	set_rotation(0)
	pass

func displaySpeed(var velocity):
	print(velocity)


func updateSpeed(var velocity):
	text = str(velocity)