Esempio n. 1
0
        public Game(int windowWidth, int windowHeight, string windowTitle)
        {
            _graphics = new OpenGLGraphicsFactory();
            _window   = _graphics.CreateWindow(windowWidth, windowHeight, windowTitle, false);
            _renderer = _graphics.CreateRenderer();
            _renderer.Init();

            OnUpdate();
            NewGame();
        }