Пример #1
0
        private void Form1_Load(object sender, EventArgs e)
        {
            Plugin p = new Plugin(Environment.CurrentDirectory);

            refe = p.GetReferees()[0];
            p1   = new PlayerData("Player 1");
            refe.AddPlayer(p1);
            p2 = new PlayerData("Player 2");
            refe.AddPlayer(p2);
            p3 = new PlayerData("Player 3");
            refe.AddPlayer(p3);
            p4 = new PlayerData("Player 4");
            refe.AddPlayer(p4);
            refe.NewGame();
            Draw();
        }