public void Render() { Gl.glClearColor(1, 0, 1, 0); Gl.glClear(Gl.GL_COLOR_BUFFER_BIT); _level.Render(_renderer); _renderer.Render(); }
public void Render() { Gl.glClearColor(0, 0, 0, 0); Gl.glClear(Gl.GL_COLOR_BUFFER_BIT); if (_lvlTitleTime >= 0) { _renderer.DrawText(_levelTitle); } else { _level.Render(_renderer); _score.Render(_renderer); _lives.Render(_renderer); } _renderer.Render(); }