This repository has been archived on 2025-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
ADEPT/ADEPT-Godot/Core/Scripts/ADEPT.cs

30 lines
840 B
C#

using System.Reflection;
using ADEPT.Core.Cogwheel;
using Cogwheel;
using Godot;
namespace ADEPT.Core;
public static class ADEPT
{
private static CommandsManager _commandsManager = new CommandsManager();
private static ICogwheelConsole _cogwheelConsole = new GodotCogwheelConsole();
public static MainNode MainNode { get; private set; }
public static void Initialize(MainNode mainNode)
{
COGWHEEL.Initialize(_commandsManager, _cogwheelConsole);
COGWHEEL.AddAssembly(Assembly.GetCallingAssembly());
MainNode = mainNode;
}
public static class Constants
{
public const string Version = "0.0.0";
public const string DefaultLessonPath = "res://Assets/ADEPT/Lessons/";
public const string DefaultLessonFileExtension = ".adept";
}
}