Exemplo n.º 1
0
        /// <summary>
        /// Makes a new instance of <see cref="WindowsRuntime"/>, a specific
        /// implementation of pEngine for windows platform.
        /// </summary>
        public WindowsRuntime() : base()
        {
            // - Add Binaries folder to the search path
            LibraryLoader.Initialize();

            // - Initialize GLFW
            GLFW.Glfw.Init();

            // - Create the game window instance
            Surface = new GlfwWindow(new Vector2i(500, 500), Environment.Engine.Name);
        }