Inheritance: ITextSurfaceRenderer, ITextSurfaceRendererUpdate
Exemplo n.º 1
0
        public BorderConsole(int width, int height)
            : base(width, height)
        {
            textSurface.Font = Settings.Config.ScreenFont;
            Renderer = new CachedTextSurfaceRenderer(textSurface);

            PrepBox();
        }
Exemplo n.º 2
0
        public CachedConsoleConsole()
            : base(80, 25)
        {
            IsVisible = false;
            FillWithRandomGarbage();

            cachedRenderer = new CachedTextSurfaceRenderer(TextSurface);
            oldRenderer = _renderer;
        }