Exemplo n.º 1
0
        public Editor()
        {
            Content.RootDirectory = FileManager.DIR_ASSETS; //Fix that shit

            IsMouseVisible = true;

            DebugLog.LogInfo("Editor Instance has been Initialized.");
            graphics = new GraphicsDeviceManager(this);

            EditorInstance = this;

            OptionsGraphics = new GraphicsOptions(graphics, "EditorGraphics.ini");
            OptionsGraphics.LoadGraphicsOptions();
            OptionsGraphics.ApplyGraphicOptions();
            OptionsGraphics.SaveGraphicsOptions();


            CurrentMap = new Map(); //Current map is static anyway.


            DebugLog.LogInfo("Editor Instance constructor loaded.");
        }