Blud_Mage/Scenes/Player/UI/cursor_state.gd
Victor Turgeon 1297c1e76a Blud gen
2023-10-11 04:32:53 -04:00

12 lines
278 B
GDScript

extends Node2D
@onready var infoLabel : Label = $Info
@onready var imageTexture : Sprite2D = $Image
func set_cursor_state(info : String, image: Texture2D):
infoLabel.text = info
imageTexture.texture = image
func set_cursor_state_info(info : String):
infoLabel.text = info