added forge addon
This commit is contained in:
30
addons/forge/core/ForgeManagers.cs
Normal file
30
addons/forge/core/ForgeManagers.cs
Normal file
@@ -0,0 +1,30 @@
|
||||
// Copyright © Gamesmiths Guild.
|
||||
|
||||
using Gamesmiths.Forge.Core;
|
||||
using Gamesmiths.Forge.Cues;
|
||||
using Gamesmiths.Forge.Tags;
|
||||
|
||||
namespace Gamesmiths.Forge.Godot.Core;
|
||||
|
||||
public class ForgeManagers
|
||||
{
|
||||
public static ForgeManagers Instance { get; private set; } = null!;
|
||||
|
||||
public TagsManager TagsManager { get; private set; }
|
||||
|
||||
public CuesManager CuesManager { get; private set; }
|
||||
|
||||
public ForgeManagers(ForgeData pluginData)
|
||||
{
|
||||
Instance = this;
|
||||
|
||||
#if DEBUG
|
||||
Validation.Enabled = true;
|
||||
#else
|
||||
Validation.Enabled = false;
|
||||
#endif
|
||||
|
||||
TagsManager = new TagsManager([.. pluginData.RegisteredTags]);
|
||||
CuesManager = new CuesManager();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user