bodypartfighter/Global/BodyPartLoader.gd

9 lines
238 B
GDScript

extends Node
var bodyparts : Dictionary
# Called when the node enters the scene tree for the first time.
func _ready():
bodyparts["Arm"] = load("res://BodyParts/Arm.tscn")
bodyparts["Humanleg"] = load("res://BodyParts/HumanLeg.tscn")