public override void Load()
        {
            ActiveProfile = new PlayerProfile("null");

            MathUtil.Init((float)DefaultSettings.Settings["PixelsPerMeter"]);
            Size = ((Vector2)(Size)Utilities.DefaultSettings.Settings["WindowSize"]) / MathUtil.PixelsPerMeter;

            PhysicsManager = new PhysicsEngine();
            UIManager = new GUIEngine();
            GraphicsManager = new GraphicsEngine();
            GraphicsTemp.load();

            InitGame();
             // InitPhysicsEngine(); <-- called in InitGame
            InitUI();
        }
        public override void Load()
        {
            MathUtil.Init((float)DefaultSettings.Settings["PixelsPerMeter"]);
            size = ((Vector2)(Size)Utilities.DefaultSettings.Settings["WindowSize"]) / MathUtil.PixelsPerMeter;

            UIManager = new UIEngine();
            GraphicsManager = new GraphicsEngine();
            EditorManager = new EditorEngine();
            ObjectCreator = new StandardObjects();

            EditorManager.Load();
            GraphicsEngine.Load();
            ObjectCreator.Load();

            InitUI();
        }
        public override void Load()
        {
            ActiveProfile = new PlayerProfile("null");
            MathUtil.Init((float)DefaultSettings.Settings["PixelsPerMeter"]);
            size = ((Vector2)(Size)Utilities.DefaultSettings.Settings["WindowSize"]) / MathUtil.PixelsPerMeter;

            PhysicsManager = new PhysicsEngine();
            UIManager = new UIEngine();
            GraphicsManager = new GraphicsEngine();
            gameLoopFPS = new FPSManager();

            font = (SpriteFont)ContentRepository.Content["Text"];
            //circ = (Texture2D)ContentRepository.Content["Circle"];

            GraphicsEngine.Load();

            InitPhysicsEngine();
            InitUI();
        }