Basic project creation

+ Added TreeNode.RemoveChild
+ Added Directory.Copy
+ Path.Combine now replaces alt directory separator
+ Project: Renamed ProjectName to Name
+ Project.Load: Save settings, if file doesn't exist
This commit is contained in:
Simon Lübeß
2023-07-31 16:35:12 +02:00
parent 17e4a6a589
commit 0d015b485e
15 changed files with 803 additions and 41 deletions
@@ -1,4 +1,5 @@
using System.Collections;
using System;
namespace GlitchyEngine.Collections
{
@@ -37,6 +38,11 @@ namespace GlitchyEngine.Collections
return newChild;
}
public bool RemoveChild(TreeNode<T> value)
{
return Children.Remove(value);
}
public Self FindNode(T value)
{
if (Value == value)