﻿using GoFSamples.ExternalContext.OperatingSystems.Linux;

namespace GoFSamples.Patterns.Facade
{
    public class LinuxSystemFacade
    {
        private LinuxWindowsManager _windowsManager = new LinuxWindowsManager();


        public LinuxWindow CreateWindow()
        {
            var window = new LinuxWindow();
            window.Initialize(new WindowDescriptor(1, 100, 100, false));

            _windowsManager.RegisterWindow(window);

            return window;
        }
    }
}
