public WindowSquad(string menu, Club club, Match match)
        {
            this.club  = club;
            this.match = match;
            this.menu  = menu + " >> " + Text.squad;
            players    = club.squad.players;
            nr1        = -1;
            nr2        = -1;
            //club.manager.setTheBestSquad();
            club.squad.setNumbers();

            pitch = new Pitch(16, 24, 3);
        }
 public Okrag(Punkt p, int R, Pitch b)
 {
     n       = b.dlugosc;
     m       = b.szerokosc;
     tablica = b.boisko;
     this.xC = p.X;
     this.yC = p.Y;
     this.R  = R;
     x       = 0;
     y       = R;
     d       = 1 - R;
     d1      = 3;
     d2      = -2 * R + 5;
 }
Ejemplo n.º 3
0
        public WindowTactics(string menu, Club club, Match match)
        {
            this.club  = club;
            this.match = match;
            this.menu  = menu + " >> " + Text.tactics;
            options    = new string[6];
            options[0] = Text.formation;
            options[1] = Text.posture;
            options[2] = "Pressing";
            options[3] = Text.agression;
            options[4] = Text.captain;
            options[5] = Text.setPieces;

            players = club.squad.players;
            pitch   = new Pitch(16, 24, 3);

            selected1Number = -1;
        }