using Plugins.JNGame.System;
using Plugins.JNGame.Util;

namespace Game.Plugins.App
{
    public static class App
    {
        
        public static readonly JNGSocket Socket = new JNGSocket();
        public static readonly JNGSyncFrame Sync = new JNGSyncFrame();
        public static readonly JAPI Api = new(new JAPIConfig(){BaseURL = "http://192.168.0.123:8080"});
        public static readonly EventDispatcher Event = EventDispatcher.Event;

        public static SystemBase[] System()
        {
            return new SystemBase[]
            {
                Socket,
                Sync
            };
        }

    }
}