ripple-tool / Ripple-Data / Control / RippleManager.cs
RippleManager.cs
Raw
using MoonSharp.Interpreter;
using Ripple_Data.Base;
using Ripple_Data.Base.Actors;
using Ripple_Data.Communication;
using Ripple_Data.Quests;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Security.Cryptography.X509Certificates;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;

namespace Ripple_Data.Control
{
    public static class RippleManager
    {
        private static Type[] types = Assembly.GetExecutingAssembly().GetTypes();
        static RippleManager()
        {
            
            Console.WriteLine("Objects Collected");
        }
        public static void Initialize(IIdentifyable obj)
        {
            if (!All.Contains(obj))
            {
                All.Add(obj);
            }
        }
        public static HashSet<IIdentifyable> All { get; private set; } = new HashSet<IIdentifyable>();        
    }
}