Example #1
0
 static public void currentBox(HubDesign current)
 {
     if (current.header == true)
     {
         Raylib.DrawRectangleGradientEx(new Rectangle(current.x, current.y, current.w, current.h), Color.MAGENTA, Color.VIOLET, Color.DARKPURPLE, Color.VIOLET);
         Raylib.DrawRectangleLines(current.x, current.y, current.w, current.h, Color.BLACK);
         Raylib.DrawText(current.tag, current.x + 10, current.y + 10, 30, Color.YELLOW);
         Raylib.DrawLineEx(new Vector2(current.x + 10, current.y + current.h - 10), new Vector2(current.x + current.w - 5, current.y + current.h - 10), 5, Color.YELLOW);
     }
     else
     {
         Raylib.DrawRectangleGradientEx(new Rectangle(current.x - 10, current.y - 10, current.w + 20, current.h + 20), Color.SKYBLUE, Color.BLUE, Color.DARKBLUE, Color.BLUE);
         Raylib.DrawRectangleLines(current.x - 10, current.y - 10, current.w + 20, current.h + 20, Color.BLACK);
         Raylib.DrawText(current.tag, current.x, current.y, 45, Color.ORANGE);
     }
 }
Example #2
0
 static public void PrintHubMenu(HubDesign centralTab, HubDesign squadTab, HubDesign transferTab, HubDesign officeTab, HubDesign myClubTab, SimulateButton simulate, HubDesign news, HubDesign cHubs, HubDesign league, HubDesign cTraining, HubDesign cInbox, HubDesign lineUp, HubDesign squadHub, HubDesign youthSquad, HubDesign teamSheet, HubDesign training, HubDesign searchPlayer, HubDesign transferHub, HubDesign transferHistory, HubDesign finances, HubDesign recommended, HubDesign scouts, HubDesign inbox, HubDesign vision, HubDesign contracts, HubDesign manageStaff, HubDesign browseJobs, HubDesign kits, HubDesign arrangeFriendlies, HubDesign trophies, HubDesign otherLeagues, HubDesign top25)
 {
     // HubDesign centralTab = new HubDesign(20, 70, 216, 50, "Central", true);
     centralTab.x       = 20;
     centralTab.y       = 70;
     centralTab.w       = 216;
     centralTab.h       = 50;
     centralTab.tag     = "Central";
     centralTab.header  = true;
     centralTab.toUp    = centralTab;
     centralTab.toRight = squadTab;
     centralTab.toDown  = simulate;
     centralTab.toLeft  = myClubTab;
     centralTab.visable = new List <HubDesign>()
     {
         myClubTab, squadTab, transferTab, officeTab, simulate, news, cHubs, league, cTraining, cInbox
     };
     centralTab.whatTab = new List <HubDesign>()
     {
         centralTab,
     };
     // HubDesign squadTab = new HubDesign(256, 70, 216, 50, "Squad", true);
     squadTab.x       = 256;
     squadTab.y       = 70;
     squadTab.w       = 216;
     squadTab.h       = 50;
     squadTab.tag     = "Squad";
     squadTab.header  = true;
     squadTab.toUp    = squadTab;
     squadTab.toRight = transferTab;
     squadTab.toDown  = lineUp;
     squadTab.toLeft  = centralTab;
     squadTab.visable = new List <HubDesign>()
     {
         centralTab, transferTab, officeTab, myClubTab, lineUp, youthSquad, squadHub, training, teamSheet
     };
     squadTab.whatTab = new List <HubDesign>()
     {
         squadTab
     };
     // HubDesign transferTab = new HubDesign(492, 70, 216, 50, "Transfer", true);
     transferTab.x       = 492;
     transferTab.y       = 70;
     transferTab.w       = 216;
     transferTab.h       = 50;
     transferTab.tag     = "Transfer";
     transferTab.header  = true;
     transferTab.toUp    = transferTab;
     transferTab.toRight = officeTab;
     transferTab.toDown  = searchPlayer;
     transferTab.toLeft  = squadTab;
     transferTab.visable = new List <HubDesign>()
     {
         squadTab, officeTab, centralTab, myClubTab, transferHistory, transferHub, searchPlayer, scouts, recommended, finances
     };
     transferTab.whatTab = new List <HubDesign>()
     {
         transferTab
     };
     // HubDesign officeTab = new HubDesign(728, 70, 216, 50, "Office", true);
     officeTab.x       = 728;
     officeTab.y       = 70;
     officeTab.w       = 216;
     officeTab.h       = 50;
     officeTab.tag     = "Office";
     officeTab.header  = true;
     officeTab.toUp    = officeTab;
     officeTab.toRight = myClubTab;
     officeTab.toDown  = inbox;
     officeTab.toLeft  = transferTab;
     officeTab.visable = new List <HubDesign>()
     {
         transferTab, myClubTab, centralTab, squadTab, vision, inbox, manageStaff, contracts, browseJobs
     };
     officeTab.whatTab = new List <HubDesign>()
     {
         officeTab
     };
     // HubDesign myClubTab = new HubDesign(964, 70, 216, 50, "My Club", true);
     myClubTab.x       = 964;
     myClubTab.y       = 70;
     myClubTab.w       = 216;
     myClubTab.h       = 50;
     myClubTab.tag     = "My Club";
     myClubTab.header  = true;
     myClubTab.toUp    = myClubTab;
     myClubTab.toRight = centralTab;
     myClubTab.toDown  = kits;
     myClubTab.toLeft  = officeTab;
     myClubTab.visable = new List <HubDesign>()
     {
         officeTab, centralTab, squadTab, transferTab, kits, arrangeFriendlies, trophies, otherLeagues, top25
     };
     myClubTab.whatTab = new List <HubDesign>()
     {
         myClubTab
     };
     // HubDesign simulate = new HubDesign(20, 140, 540, 190, "Simulate");
     simulate.x       = 20;
     simulate.y       = 140;
     simulate.w       = 540;
     simulate.h       = 190;
     simulate.tag     = "Simulate";
     simulate.toUp    = centralTab;
     simulate.toRight = news;
     simulate.toDown  = cHubs;
     simulate.toLeft  = arrangeFriendlies;
     simulate.visable = new List <HubDesign>()
     {
         myClubTab, squadTab, transferTab, officeTab, news, cHubs, league, cTraining, cInbox
     };
     simulate.whatTab = new List <HubDesign>()
     {
         centralTab
     };
     simulate.nextDay = 0;
     simulate.action  = () =>
     {
         simulate.CheckDate();
     };
     // HubDesign news = new HubDesign(580, 140, 600, 340, "News");
     news.x       = 580;
     news.y       = 140;
     news.w       = 600;
     news.h       = 340;
     news.tag     = "News";
     news.toUp    = centralTab;
     news.toRight = lineUp;
     news.toDown  = cTraining;
     news.toLeft  = simulate;
     news.visable = new List <HubDesign>()
     {
         myClubTab, squadTab, transferTab, officeTab, simulate, cHubs, league, cTraining, cInbox
     };
     news.whatTab = new List <HubDesign>()
     {
         centralTab
     };
     // HubDesign cHubs = new HubDesign(20, 350, 260, 380, "Squad Hub");
     cHubs.x       = 20;
     cHubs.y       = 350;
     cHubs.w       = 260;
     cHubs.h       = 380;
     cHubs.tag     = "Squad Hub";
     cHubs.toUp    = simulate;
     cHubs.toRight = league;
     cHubs.toDown  = cHubs;
     cHubs.toLeft  = top25;
     cHubs.visable = new List <HubDesign>()
     {
         myClubTab, squadTab, transferTab, officeTab, simulate, news, league, cTraining, cInbox
     };
     cHubs.whatTab = new List <HubDesign>()
     {
         centralTab
     };
     // HubDesign league = new HubDesign(300, 350, 260, 380, "Table");
     league.x       = 300;
     league.y       = 350;
     league.w       = 260;
     league.h       = 380;
     league.tag     = "Table";
     league.toUp    = simulate;
     league.toRight = cTraining;
     league.toDown  = league;
     league.toLeft  = cHubs;
     league.visable = new List <HubDesign>()
     {
         myClubTab, squadTab, transferTab, officeTab, simulate, news, cHubs, cTraining, cInbox
     };
     league.whatTab = new List <HubDesign>()
     {
         centralTab
     };
     // HubDesign cTraining = new HubDesign(580, 500, 290, 230, "Training");
     cTraining.x       = 580;
     cTraining.y       = 500;
     cTraining.w       = 290;
     cTraining.h       = 230;
     cTraining.tag     = "Training";
     cTraining.toUp    = news;
     cTraining.toRight = cInbox;
     cTraining.toDown  = cTraining;
     cTraining.toLeft  = league;
     cTraining.visable = new List <HubDesign>()
     {
         myClubTab, squadTab, transferTab, officeTab, simulate, news, cHubs, league, cInbox
     };
     cTraining.whatTab = new List <HubDesign>()
     {
         centralTab
     };
     // HubDesign cInbox = new HubDesign(890, 500, 290, 230, "Inbox");
     cInbox.x       = 890;
     cInbox.y       = 500;
     cInbox.w       = 290;
     cInbox.h       = 230;
     cInbox.tag     = "Inbox";
     cInbox.toUp    = news;
     cInbox.toRight = lineUp;
     cInbox.toDown  = cInbox;
     cInbox.toLeft  = cTraining;
     cInbox.visable = new List <HubDesign>()
     {
         myClubTab, squadTab, transferTab, officeTab, simulate, news, cHubs, league, cTraining
     };
     cInbox.whatTab = new List <HubDesign>()
     {
         centralTab
     };
     // HubDesign lineUp = new HubDesign(20, 140, 590, 590, "Rotational 7");
     lineUp.x       = 20;
     lineUp.y       = 140;
     lineUp.w       = 590;
     lineUp.h       = 590;
     lineUp.tag     = "Rotational 7";
     lineUp.toUp    = squadTab;
     lineUp.toRight = squadHub;
     lineUp.toDown  = lineUp;
     lineUp.toLeft  = news;
     lineUp.visable = new List <HubDesign>()
     {
         centralTab, transferTab, officeTab, myClubTab, squadHub, youthSquad, teamSheet, training
     };
     lineUp.whatTab = new List <HubDesign>()
     {
         squadTab
     };
     // HubDesign training = new HubDesign(630, 530, 550, 200, "Training");
     training.x       = 630;
     training.y       = 530;
     training.w       = 550;
     training.h       = 200;
     training.tag     = "Training";
     training.toUp    = teamSheet;
     training.toRight = recommended;
     training.toDown  = training;
     training.toLeft  = lineUp;
     training.visable = new List <HubDesign>()
     {
         centralTab, transferTab, officeTab, myClubTab, lineUp, squadHub, youthSquad, teamSheet
     };
     training.whatTab = new List <HubDesign>()
     {
         squadTab
     };
     // HubDesign squadHub = new HubDesign(630, 140, 265, 175, "Squad Hub");
     squadHub.x       = 630;
     squadHub.y       = 140;
     squadHub.w       = 265;
     squadHub.h       = 175;
     squadHub.tag     = "Squad Hub";
     squadHub.toUp    = squadTab;
     squadHub.toRight = youthSquad;
     squadHub.toDown  = teamSheet;
     squadHub.toLeft  = lineUp;
     squadHub.visable = new List <HubDesign>()
     {
         centralTab, transferTab, officeTab, myClubTab, lineUp, youthSquad, teamSheet, training
     };
     squadHub.whatTab = new List <HubDesign>()
     {
         squadTab
     };
     // HubDesign youthSquad = new HubDesign(915, 140, 265, 175, "Academy");
     youthSquad.x       = 915;
     youthSquad.y       = 140;
     youthSquad.w       = 265;
     youthSquad.h       = 175;
     youthSquad.tag     = "Academy";
     youthSquad.toUp    = squadTab;
     youthSquad.toRight = searchPlayer;
     youthSquad.toDown  = teamSheet;
     youthSquad.toLeft  = squadHub;
     youthSquad.visable = new List <HubDesign>()
     {
         centralTab, transferTab, officeTab, myClubTab, lineUp, squadHub, teamSheet, training
     };
     youthSquad.whatTab = new List <HubDesign>()
     {
         squadTab
     };
     // HubDesign teamSheet = new HubDesign(630, 335, 550, 175, "Team Rotation");
     teamSheet.x       = 630;
     teamSheet.y       = 335;
     teamSheet.w       = 550;
     teamSheet.h       = 175;
     teamSheet.tag     = "Team Rotation";
     teamSheet.toUp    = squadHub;
     teamSheet.toRight = searchPlayer;
     teamSheet.toDown  = training;
     teamSheet.toLeft  = lineUp;
     teamSheet.visable = new List <HubDesign>()
     {
         centralTab, transferTab, officeTab, myClubTab, lineUp, squadHub, youthSquad, training
     };
     teamSheet.whatTab = new List <HubDesign>()
     {
         squadTab
     };
     // HubDesign searchPlayer = new HubDesign(20, 140, 275, 285, "Search\n Players");
     searchPlayer.x       = 20;
     searchPlayer.y       = 140;
     searchPlayer.w       = 275;
     searchPlayer.h       = 285;
     searchPlayer.tag     = "Search\n Players";
     searchPlayer.toUp    = transferTab;
     searchPlayer.toRight = transferHub;
     searchPlayer.toDown  = recommended;
     searchPlayer.toLeft  = youthSquad;
     searchPlayer.visable = new List <HubDesign>()
     {
         squadTab, officeTab, centralTab, myClubTab, transferHub, transferHistory, finances, recommended, scouts
     };
     searchPlayer.whatTab = new List <HubDesign>()
     {
         transferTab
     };
     // HubDesign transferHub = new HubDesign(315, 140, 275, 285, "Transfer\n Hub");
     transferHub.x       = 315;
     transferHub.y       = 140;
     transferHub.w       = 275;
     transferHub.h       = 285;
     transferHub.tag     = "Transfer\n Hub";
     transferHub.toUp    = transferTab;
     transferHub.toRight = transferHistory;
     transferHub.toDown  = recommended;
     transferHub.toLeft  = searchPlayer;
     transferHub.visable = new List <HubDesign>()
     {
         squadTab, officeTab, centralTab, myClubTab, searchPlayer, transferHistory, finances, recommended, scouts
     };
     transferHub.whatTab = new List <HubDesign>()
     {
         transferTab
     };
     // HubDesign transferHistory = new HubDesign(610, 140, 275, 285, "Transfer\n History");
     transferHistory.x       = 610;
     transferHistory.y       = 140;
     transferHistory.w       = 275;
     transferHistory.h       = 285;
     transferHistory.tag     = "Transfer\n History";
     transferHistory.toUp    = transferTab;
     transferHistory.toRight = finances;
     transferHistory.toDown  = recommended;
     transferHistory.toLeft  = transferHub;
     transferHistory.visable = new List <HubDesign>()
     {
         squadTab, officeTab, centralTab, myClubTab, searchPlayer, transferHub, finances, recommended, scouts
     };
     transferHistory.whatTab = new List <HubDesign>()
     {
         transferTab
     };
     // HubDesign finances = new HubDesign(905, 140, 275, 285, "Financial");
     finances.x       = 905;
     finances.y       = 140;
     finances.w       = 275;
     finances.h       = 285;
     finances.tag     = "Financial";
     finances.toUp    = transferTab;
     finances.toRight = inbox;
     finances.toDown  = scouts;
     finances.toLeft  = transferHistory;
     finances.visable = new List <HubDesign>()
     {
         squadTab, officeTab, centralTab, myClubTab, searchPlayer, transferHub, transferHistory, recommended, scouts
     };
     finances.whatTab = new List <HubDesign>()
     {
         transferTab
     };
     // HubDesign scouts = new HubDesign(905, 445, 275, 285, "Scout\n Network");
     scouts.x       = 905;
     scouts.y       = 445;
     scouts.w       = 275;
     scouts.h       = 285;
     scouts.tag     = "Scout\n Network";
     scouts.toUp    = finances;
     scouts.toRight = contracts;
     scouts.toDown  = scouts;
     scouts.toLeft  = recommended;
     scouts.visable = new List <HubDesign>()
     {
         squadTab, officeTab, centralTab, myClubTab, searchPlayer, transferHub, transferHistory, finances, recommended
     };
     scouts.whatTab = new List <HubDesign>()
     {
         transferTab
     };
     // HubDesign recommended = new HubDesign(20, 445, 865, 285, "Scouted Players");
     recommended.x       = 20;
     recommended.y       = 445;
     recommended.w       = 865;
     recommended.h       = 285;
     recommended.tag     = "Scouted Players";
     recommended.toUp    = searchPlayer;
     recommended.toRight = scouts;
     recommended.toDown  = recommended;
     recommended.toLeft  = training;
     recommended.visable = new List <HubDesign>()
     {
         squadTab, officeTab, centralTab, myClubTab, searchPlayer, transferHub, transferHistory, finances, scouts
     };
     recommended.whatTab = new List <HubDesign>()
     {
         transferTab
     };
     // HubDesign inbox = new HubDesign(20, 140, 570, 285, "Inbox");
     inbox.x       = 20;
     inbox.y       = 140;
     inbox.w       = 570;
     inbox.h       = 285;
     inbox.tag     = "Inbox";
     inbox.toUp    = officeTab;
     inbox.toRight = vision;
     inbox.toDown  = contracts;
     inbox.toLeft  = finances;
     inbox.visable = new List <HubDesign>()
     {
         transferTab, myClubTab, centralTab, squadTab, vision, contracts, manageStaff, browseJobs
     };
     inbox.whatTab = new List <HubDesign>()
     {
         officeTab
     };
     // HubDesign vision = new HubDesign(610, 140, 570, 285, "Vision and\n Expectations");
     vision.x       = 610;
     vision.y       = 140;
     vision.w       = 570;
     vision.h       = 285;
     vision.tag     = "Vision and\n Expectations";
     vision.toUp    = officeTab;
     vision.toRight = kits;
     vision.toDown  = manageStaff;
     vision.toLeft  = inbox;
     vision.visable = new List <HubDesign>()
     {
         transferTab, myClubTab, centralTab, squadTab, inbox, contracts, manageStaff, browseJobs
     };
     vision.whatTab = new List <HubDesign>()
     {
         officeTab
     };
     // HubDesign contracts = new HubDesign(20, 445, 550, 285, "Player \n Contracts");
     contracts.x       = 20;
     contracts.y       = 445;
     contracts.w       = 570;
     contracts.h       = 285;
     contracts.tag     = "Player \n Contracts";
     contracts.toUp    = inbox;
     contracts.toRight = manageStaff;
     contracts.toDown  = contracts;
     contracts.toLeft  = scouts;
     contracts.visable = new List <HubDesign>()
     {
         transferTab, myClubTab, centralTab, squadTab, inbox, vision, manageStaff, browseJobs
     };
     contracts.whatTab = new List <HubDesign>()
     {
         officeTab
     };
     // HubDesign manageStaff = new HubDesign(590, 445, 285, 285, "Staff");
     manageStaff.x       = 610;
     manageStaff.y       = 445;
     manageStaff.w       = 275;
     manageStaff.h       = 285;
     manageStaff.tag     = "Staff";
     manageStaff.toUp    = vision;
     manageStaff.toRight = browseJobs;
     manageStaff.toDown  = manageStaff;
     manageStaff.toLeft  = contracts;
     manageStaff.visable = new List <HubDesign>()
     {
         transferTab, myClubTab, centralTab, squadTab, inbox, vision, contracts, browseJobs
     };
     manageStaff.whatTab = new List <HubDesign>()
     {
         officeTab
     };
     // HubDesign browseJobs = new HubDesign(895, 445, 285, 285, "Browse \n Jobs");
     browseJobs.x       = 905;
     browseJobs.y       = 445;
     browseJobs.w       = 275;
     browseJobs.h       = 285;
     browseJobs.tag     = "Browse \n Jobs";
     browseJobs.toUp    = vision;
     browseJobs.toRight = kits;
     browseJobs.toDown  = browseJobs;
     browseJobs.toLeft  = manageStaff;
     browseJobs.visable = new List <HubDesign>()
     {
         transferTab, myClubTab, centralTab, squadTab, inbox, vision, contracts, manageStaff
     };
     browseJobs.whatTab = new List <HubDesign>()
     {
         officeTab
     };
     // HubDesign kits = new HubDesign(20, 140, 570, 285, "Game Kits");
     kits.x       = 20;
     kits.y       = 140;
     kits.w       = 570;
     kits.h       = 285;
     kits.tag     = "Game Kits";
     kits.toUp    = myClubTab;
     kits.toRight = arrangeFriendlies;
     kits.toDown  = trophies;
     kits.toLeft  = vision;
     kits.visable = new List <HubDesign>()
     {
         officeTab, centralTab, squadTab, transferTab, arrangeFriendlies, trophies, otherLeagues, top25
     };
     kits.whatTab = new List <HubDesign>()
     {
         myClubTab
     };
     // HubDesign arrangeFriendlies = new HubDesign(610, 140, 570, 285, "Arrange Friendly");
     arrangeFriendlies.x       = 610;
     arrangeFriendlies.y       = 140;
     arrangeFriendlies.w       = 570;
     arrangeFriendlies.h       = 285;
     arrangeFriendlies.tag     = "Arrange Friendly";
     arrangeFriendlies.toUp    = myClubTab;
     arrangeFriendlies.toRight = simulate;
     arrangeFriendlies.toDown  = otherLeagues;
     arrangeFriendlies.toLeft  = kits;
     arrangeFriendlies.visable = new List <HubDesign>()
     {
         officeTab, centralTab, squadTab, transferTab, kits, trophies, otherLeagues, top25
     };
     arrangeFriendlies.whatTab = new List <HubDesign>()
     {
         myClubTab
     };
     // HubDesign trophies = new HubDesign(20, 445, 320, 285, "Club History");
     trophies.x       = 20;
     trophies.y       = 445;
     trophies.w       = 430;
     trophies.h       = 285;
     trophies.tag     = "Club History";
     trophies.toUp    = kits;
     trophies.toRight = otherLeagues;
     trophies.toDown  = trophies;
     trophies.toLeft  = browseJobs;
     trophies.visable = new List <HubDesign>()
     {
         officeTab, centralTab, squadTab, transferTab, kits, arrangeFriendlies, otherLeagues, top25
     };
     trophies.whatTab = new List <HubDesign>()
     {
         myClubTab
     };
     // HubDesign otherLeagues = new HubDesign(360, 445, 400, 285, "Other Leagues");
     otherLeagues.x       = 470;
     otherLeagues.y       = 445;
     otherLeagues.w       = 260;
     otherLeagues.h       = 285;
     otherLeagues.tag     = "Other \n Leagues";
     otherLeagues.toUp    = kits;
     otherLeagues.toRight = top25;
     otherLeagues.toDown  = otherLeagues;
     otherLeagues.toLeft  = trophies;
     otherLeagues.visable = new List <HubDesign>()
     {
         officeTab, centralTab, squadTab, transferTab, kits, arrangeFriendlies, trophies, top25
     };
     otherLeagues.whatTab = new List <HubDesign>()
     {
         myClubTab
     };
     // HubDesign top25 = new HubDesign(780, 445, 400, 285, "All Statistics");
     top25.x       = 750;
     top25.y       = 445;
     top25.w       = 430;
     top25.h       = 285;
     top25.tag     = "All Statistics";
     top25.toUp    = arrangeFriendlies;
     top25.toRight = cHubs;
     top25.toDown  = top25;
     top25.toLeft  = otherLeagues;
     top25.visable = new List <HubDesign>()
     {
         officeTab, centralTab, squadTab, transferTab, kits, arrangeFriendlies, trophies, otherLeagues
     };
     top25.whatTab = new List <HubDesign>()
     {
         myClubTab
     };
 }
Example #3
0
        static void Main(string[] args)
        {
            Player.PlayersIntoTeams();
            Teams.TeamsIntoDivisions();
            string space17 = "                 ";
            string space16 = "                ";
            string space15 = "               ";
            string space14 = "              ";
            string space13 = "             ";
            string space12 = "            ";
            string space11 = "           ";
            string space10 = "          ";
            string space7  = "       ";
            string space6  = "      ";
            string space5  = "     ";
            string space4  = "    ";
            string space3  = "   ";
            string space   = " ";

            Console.Clear();
            System.Console.WriteLine("Check players or teams");
            string choice = Console.ReadLine();

            // Hur man lägger till personer i listan
            Player.playerData.Add(new Player("Boing boing", "Outside Hitter", "Kristoffer", "See", 69, 18, "righ", 182, 80, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99));
            Player.playerData.RemoveAt(Player.playerData.ToArray().Length - 1);
            Player.playerData.Add(new Player("Test", "Outside Hitter", "Bertil", "Chemnitz", 69, 18, "righ", 182, 80, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99));
            Player.playerData.RemoveAt(Player.playerData.ToArray().Length - 1);
            while (choice == "players" || choice == "1")
            {
                Console.Clear();
                for (int tellMeBoutYou = 0; tellMeBoutYou < Player.playerData.ToArray().Length; tellMeBoutYou++)
                {
                    Console.WriteLine("Name" + space16 + Player.playerData[tellMeBoutYou].name + space + Player.playerData[tellMeBoutYou].surname + "\n"
                                      + "Team" + space16 + Player.playerData[tellMeBoutYou].tName + "\n"
                                      + "Position" + space12 + Player.playerData[tellMeBoutYou].position + "\n"
                                      + "Favorite Number" + space5 + Player.playerData[tellMeBoutYou].number + space5 + (tellMeBoutYou + 1) + "\n"
                                      + "Age" + space17 + Player.playerData[tellMeBoutYou].age + "\n"
                                      + "Height" + space14 + Player.playerData[tellMeBoutYou].height + "\n"
                                      + "Weight" + space14 + Player.playerData[tellMeBoutYou].weight + "\n"
                                      + "Attack Overall" + space6 + Player.playerData[tellMeBoutYou].attackingStats + space5 + "Passing Overall" + space5 + Player.playerData[tellMeBoutYou].passingStats + space5 + "Pyhsic Overall" + space6 + Player.playerData[tellMeBoutYou].physicStats + space5 + "Defense Overall" + space5 + Player.playerData[tellMeBoutYou].defenseStats + space5 + "Mentality Overall" + space3 + Player.playerData[tellMeBoutYou].mentalityStats + "\n"
                                      + "Power" + space15 + Player.playerData[tellMeBoutYou].power + space5 + "Sett" + space16 + Player.playerData[tellMeBoutYou].sett + space5 + "Stamina" + space13 + Player.playerData[tellMeBoutYou].stamina + space5 + "Marking" + space13 + Player.playerData[tellMeBoutYou].marking + space5 + "Attack Position" + space5 + Player.playerData[tellMeBoutYou].atkP + "\n"
                                      + "Spike" + space15 + Player.playerData[tellMeBoutYou].spike + space5 + "Vision" + space14 + Player.playerData[tellMeBoutYou].vision + space5 + "Balance" + space13 + Player.playerData[tellMeBoutYou].balance + space5 + "Blocking" + space12 + Player.playerData[tellMeBoutYou].blocking + space5 + "Defense Position" + space4 + Player.playerData[tellMeBoutYou].defP + "\n"
                                      + "Serve" + space15 + Player.playerData[tellMeBoutYou].serve + space5 + "Under Arm Pass" + space6 + Player.playerData[tellMeBoutYou].uAPass + space5 + "Speed" + space15 + Player.playerData[tellMeBoutYou].speed + space5 + "Reading" + space13 + Player.playerData[tellMeBoutYou].reading + space5 + "Timing" + space14 + Player.playerData[tellMeBoutYou].timing + "\n"
                                      + "Direct" + space14 + Player.playerData[tellMeBoutYou].direct + space5 + "Over Arm Pass" + space7 + Player.playerData[tellMeBoutYou].oAPass + space5 + "Mobility" + space12 + Player.playerData[tellMeBoutYou].mobility + space5 + "Dig" + space17 + Player.playerData[tellMeBoutYou].dig + space5 + "Composure" + space11 + Player.playerData[tellMeBoutYou].coolness + "\n"
                                      + "Backrow" + space13 + Player.playerData[tellMeBoutYou].backrow + space5 + "Ball Controll" + space7 + Player.playerData[tellMeBoutYou].controll + space5 + "Elasticity" + space10 + Player.playerData[tellMeBoutYou].elasticity + space5 + "Reaction" + space12 + Player.playerData[tellMeBoutYou].reaction + " \n");
                }
                choice = Console.ReadLine();
            }
            while (choice == "team" || choice == "2")
            {
                Console.Clear();
                System.Console.WriteLine("What League?\n\n\tDivision 1\n\tDivision 2\n\tDivision 3");
                string        choice2     = Console.ReadLine();
                List <String> div1        = new List <string>();
                List <String> div2        = new List <string>();
                List <String> div3        = new List <string>();
                bool          lookingAtD1 = false;
                bool          lookingAtD2 = false;
                bool          lookingAtD3 = false;
                int           choice2p;
                if (choice2 == "1" || choice2 == "div1")
                {
                    for (int div1Teams = 0; div1Teams < 20; div1Teams++)
                    {
                        div1.Add(League.divTeam[0, div1Teams].name);
                    }
                    div1.Sort();
                    lookingAtD1 = true;
                    while (lookingAtD1 == true)
                    {
                        Console.Clear();
                        for (int div1Teams = 0; div1Teams < div1.ToArray().Length; div1Teams++)
                        {
                            System.Console.WriteLine("[" + (div1Teams + 1) + "] " + div1.ToArray()[div1Teams]);
                        }
                        string Choice2p1 = Console.ReadLine();
                        for (int whatTeam = 0; whatTeam < div1.ToArray().Length; whatTeam++)
                        {
                            if (Choice2p1 == (whatTeam + 1).ToString() || Choice2p1 == div1.ToArray()[(whatTeam)].ToString())
                            {
                                Console.Clear();
                                choice2p = whatTeam;
                                CheckD1Team(choice2p, space16, space12, div1);
                                Console.ReadLine();
                            }
                        }
                        if (Choice2p1 == "back" || Choice2p1 == "b")
                        {
                            break;
                        }
                    }
                }
                else if (choice2 == "2" || choice2 == "div2")
                {
                    for (int div2Teams = 0; div2Teams < 20; div2Teams++)
                    {
                        div2.Add(League.divTeam[1, div2Teams].name);
                    }
                    div2.Sort();
                    lookingAtD2 = true;
                    while (lookingAtD2 == true)
                    {
                        Console.Clear();
                        for (int div2Teams = 0; div2Teams < div2.ToArray().Length; div2Teams++)
                        {
                            System.Console.WriteLine("[" + (div2Teams + 1) + "] " + div2.ToArray()[div2Teams]);
                        }
                        string Choice2p2 = Console.ReadLine();
                        for (int whatTeam = 0; whatTeam < div2.ToArray().Length; whatTeam++)
                        {
                            if (Choice2p2 == (whatTeam + 1).ToString() || Choice2p2 == div2.ToArray()[(whatTeam)].ToString())
                            {
                                Console.Clear();
                                choice2p = whatTeam;
                                CheckD2Team(choice2p, space16, space12, div2);
                                Console.ReadLine();
                            }
                        }
                        if (Choice2p2 == "back" || Choice2p2 == "b")
                        {
                            break;
                        }
                    }
                }
                else if (choice2 == "3" || choice2 == "div3")
                {
                    for (int div3Teams = 0; div3Teams < 20; div3Teams++)
                    {
                        div3.Add(League.divTeam[2, div3Teams].name);
                    }
                    div3.Sort();
                    lookingAtD3 = true;
                    while (lookingAtD3 == true)
                    {
                        Console.Clear();
                        for (int div3Teams = 0; div3Teams < div3.ToArray().Length; div3Teams++)
                        {
                            System.Console.WriteLine("[" + (div3Teams + 1) + "] " + div3.ToArray()[div3Teams]);
                        }
                        string Choice2p3 = Console.ReadLine();
                        for (int whatTeam = 0; whatTeam < div3.ToArray().Length; whatTeam++)
                        {
                            if (Choice2p3 == (whatTeam + 1).ToString() || Choice2p3 == div3.ToArray()[whatTeam].ToString())
                            {
                                Console.Clear();
                                choice2p = whatTeam;
                                CheckD3Team(choice2p, space16, space12, div3);
                                Console.ReadLine();
                            }
                        }
                        if (Choice2p3 == "back" || Choice2p3 == "b")
                        {
                            break;
                        }
                    }
                }
                choice = Console.ReadLine();
                Console.Clear();
            }
            HubDesign      centralTab        = new HubDesign();
            HubDesign      squadTab          = new HubDesign();
            HubDesign      transferTab       = new HubDesign();
            HubDesign      officeTab         = new HubDesign();
            HubDesign      myClubTab         = new HubDesign();
            SimulateButton simulate          = new SimulateButton();
            HubDesign      news              = new HubDesign();
            HubDesign      cHubs             = new HubDesign();
            HubDesign      league            = new HubDesign();
            HubDesign      cTraining         = new HubDesign();
            HubDesign      cInbox            = new HubDesign();
            HubDesign      lineUp            = new HubDesign();
            HubDesign      training          = new HubDesign();
            HubDesign      squadHub          = new HubDesign();
            HubDesign      youthSquad        = new HubDesign();
            HubDesign      teamSheet         = new HubDesign();
            HubDesign      searchPlayer      = new HubDesign();
            HubDesign      transferHub       = new HubDesign();
            HubDesign      transferHistory   = new HubDesign();
            HubDesign      finances          = new HubDesign();
            HubDesign      scouts            = new HubDesign();
            HubDesign      recommended       = new HubDesign();
            HubDesign      inbox             = new HubDesign();
            HubDesign      vision            = new HubDesign();
            HubDesign      contracts         = new HubDesign();
            HubDesign      manageStaff       = new HubDesign();
            HubDesign      browseJobs        = new HubDesign();
            HubDesign      kits              = new HubDesign();
            HubDesign      arrangeFriendlies = new HubDesign();
            HubDesign      trophies          = new HubDesign();
            HubDesign      otherLeagues      = new HubDesign();
            HubDesign      top25             = new HubDesign();

            Platform.PrintHubMenu(centralTab, squadTab, transferTab, officeTab, myClubTab, simulate, news, cHubs, league, cTraining, cInbox, lineUp, squadHub, youthSquad, teamSheet, training, searchPlayer, transferHub, transferHistory, finances, recommended, scouts, inbox, vision, contracts, manageStaff, browseJobs, kits, arrangeFriendlies, trophies, otherLeagues, top25);
            HubDesign current = simulate;

            Raylib.InitWindow(1200, 750, "");
            Raylib.SetTargetFPS(60);
            while (!Raylib.WindowShouldClose())
            {
                DateTime dtStart   = new DateTime(2020, 6, 1);
                DateTime dtCurrent = dtStart.AddDays(simulate.nextDay);
                string   dtString  = dtCurrent.ToString("dd MMMM yyyy");
                // (current, simulate, news, cHubs, league, cTraining, cInbox, lineUp, squadHub, youthSquad, training, teamSheet, serachPlayer, transferHub, transferHistory, finances, scouts, recommended, vision, inbox, contracts, manageStaff, browseJobs, kits, arrangeFriendlies, trophies, otherLeagues, top25);
                // (HubDesign current, HubDesign simulate, HubDesign news, HubDesign cHubs, HubDesign league, HubDesign cTraining, HubDesign cInbox, HubDesign lineUp, HubDesign squadHub, HubDesign youthSquad, HubDesign training, HubDesign teamSheet, HubDesign serachPlayer, HubDesign transferHub, HubDesign transferHistory, HubDesign finances, HubDesign scouts, HubDesign recommended, HubDesign vision, HubDesign inbox, HubDesign contracts, HubDesign manageStaff, HubDesign browseJobs, HubDesign kits, HubDesign arrangeFriendlies, HubDesign trophies, HubDesign otherLeagues, HubDesign top25)
                if (Raylib.IsKeyPressed(KeyboardKey.KEY_W))
                {
                    current = current.toUp;
                }
                else if (Raylib.IsKeyPressed(KeyboardKey.KEY_A))
                {
                    current = current.toLeft;
                }
                else if (Raylib.IsKeyPressed(KeyboardKey.KEY_S))
                {
                    current = current.toDown;
                }
                else if (Raylib.IsKeyPressed(KeyboardKey.KEY_D))
                {
                    current = current.toRight;
                }
                else if (Raylib.IsKeyPressed(KeyboardKey.KEY_Q))
                {
                    current = current.visable[0];
                }
                else if (Raylib.IsKeyPressed(KeyboardKey.KEY_E))
                {
                    current = current.visable[1];
                }
                else if (Raylib.IsKeyPressed(KeyboardKey.KEY_ENTER))
                {
                    current.action();
                }
                foreach (HubDesign LB in current.visable)
                {
                    LB.DrawBox();
                }
                foreach (HubDesign wut in current.whatTab)
                {
                    wut.DrawTab();
                }
                HubDesign.currentBox(current);

                if (current == simulate)
                {
                    Raylib.DrawText(dtString, simulate.x, simulate.y + 50, 30, Color.ORANGE);
                }
                else if (current.visable.Contains(simulate))
                {
                    Raylib.DrawText(dtString, simulate.x + 15, simulate.y + 45, 20, Color.ORANGE);
                }
                Raylib.BeginDrawing();
                Raylib.ClearBackground(Color.BLUE);
                Raylib.EndDrawing();
            }
        }