Added basic components for DSL. Working on functionality next.
This commit is contained in:
@@ -19,6 +19,21 @@ public partial class ResourceLoader
|
||||
{
|
||||
return GD.Load<PackedScene>($"res://Prefabs/ProgramNode.tscn");
|
||||
}
|
||||
|
||||
public static PackedScene LoadMoveNodePrefab()
|
||||
{
|
||||
return GD.Load<PackedScene>($"res://Prefabs/DSL/MoveNode.tscn");
|
||||
}
|
||||
|
||||
public static PackedScene LoadHarvestNodePrefab()
|
||||
{
|
||||
return GD.Load<PackedScene>($"res://Prefabs/DSL/HarvestNode.tscn");
|
||||
}
|
||||
|
||||
public static PackedScene LoadCraftNodePrefab()
|
||||
{
|
||||
return GD.Load<PackedScene>($"res://Prefabs/DSL/CraftNode.tscn");
|
||||
}
|
||||
|
||||
public static Dictionary<string, MeshInstance3D> LoadTiles()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user