mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-10-22 15:38:14 +00:00
added the game
This commit is contained in:
11
Scripts/Classes/UI/PackNinePatch.gd
Normal file
11
Scripts/Classes/UI/PackNinePatch.gd
Normal file
@@ -0,0 +1,11 @@
|
||||
class_name PackNinePatch
|
||||
extends NinePatchRect
|
||||
|
||||
@onready var resource_getter = ResourceGetter.new()
|
||||
|
||||
func _ready() -> void:
|
||||
update()
|
||||
Global.level_theme_changed.connect(update)
|
||||
|
||||
func update() -> void:
|
||||
texture = resource_getter.get_resource(texture)
|
Reference in New Issue
Block a user