refactor: move global classes def into package
This commit is contained in:
@@ -2,15 +2,14 @@ using Godot;
|
||||
using Polonium.Agents;
|
||||
using Polonium.Interfaces;
|
||||
using Polonium.Resources;
|
||||
using Polonium.Scenes;
|
||||
|
||||
namespace Polonium;
|
||||
|
||||
public class PoloniumRegistry
|
||||
{
|
||||
public static IGlobalRegistry GlobalRegistry { get; set; }
|
||||
private static PoloniumRegistry InternalInstance { get; set; }
|
||||
public static PoloniumRegistry Instance => InternalInstance ??= new PoloniumRegistry();
|
||||
public RootScene RootScene { get; set; }
|
||||
public Config Config { get; set; }
|
||||
public Save Save { get; set; }
|
||||
|
||||
@@ -21,6 +20,6 @@ public class PoloniumRegistry
|
||||
public Dictionary<string, Agent> Agents { get; set; } = new();
|
||||
|
||||
public HashSet<ITimeConsumer> TimeConsumers { get; set; } = new();
|
||||
public bool Paused { get; set; }
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user