bodypartfighter/Global/BodyPartLoader.gd

11 lines
380 B
GDScript3
Raw Normal View History

2020-02-01 12:45:12 +01:00
extends Node
var bodyparts : Dictionary
# Called when the node enters the scene tree for the first time.
func _ready():
bodyparts["Human Arm"] = load("res://BodyParts/HumanArm.tscn")
bodyparts["Human Leg"] = load("res://BodyParts/HumanLeg.tscn")
2020-02-02 12:14:27 +01:00
bodyparts["Frog Leg"] = load("res://BodyParts/FrogLeg.tscn")
bodyparts["Gorilla Arm"] = load("res://BodyParts/GorillaArm.tscn")