public void Run()
        {
            sprite = new Sprite(pixel);

            EntityConstructor entityConstructor = new EntityConstructor();

            EntityManager  = entityConstructor.Instantiate("1", () => window.Close());
            InputManager   = new MouseClick();
            IUpdateVisitor = new DefaultUpdateVisitor(InputManager, entityConstructor);


            IDrawingManager = new SFMLDrawingAdapter(window);
            IDrawVisitor    = new DefaultDrawVisitor(IDrawingManager);

            //Database.Set_connection();
            //Database.ExecuteData("create table if exists WinsLosses (ID INTEGER PRIMARY KEY, Wins INTEGER, Losses INTEGER)");
            //Database.ExecuteData("insert into WinsLosses (ID, Wins, Losses) values (1,0,0)");
            //Database.ReadData("select * from WinsLosses");

            window.SetActive();

            while (window.IsOpen)
            {
                window.Clear();
                window.DispatchEvents();
                Draw();
                Update();
                window.Display();
            }
        }
        //Database DB;
        /// <summary>
        /// Allows the game to perform any initialization it needs to before starting to run.
        /// This is where it can query for any required services and load any non-graphic
        /// related content.  Calling base.Initialize will enumerate through any components
        /// and initialize them as well.
        /// </summary>
        protected override void Initialize()
        {
            // TODO: Add your initialization logic here

            base.Initialize();
            //DB = new Database();
            //DB.ExecuteData();
            EntityConstructor entityConstructor = new EntityConstructor();

            EntityManager = entityConstructor.Instantiate("1", () => Exit());
            if (device == "Windows")
            {
                InputManager = new MonogameMouseClick();
            }
            else if (device == "Android")
            {
                InputManager = new MonogameTouch();
            }
            IUpdateVisitor = new DefaultUpdateVisitor(InputManager, entityConstructor);
        }