Beispiel #1
0
        //LOAD
        private void NewForm_Load(object sender, EventArgs e)
        {
            graphics      = Screen.CreateGraphics();
            unitdestroly  = OnUnitDestroly;
            sakkfor       = OnSakkFor;
            findmatch     = MatchFound;
            getplayermove = OppMove;
            resetgame     = Reset;
            endform       = new GEndForm(this);
            label5.Text  += version;

            this.Opacity = 0;
            nameinput    = new Chess.NameInput(this);
            nameinput.Show();
        }
Beispiel #2
0
        public Table(Graphics a, Player b, Player c, RichTextBox d, UnitDestroly e, SakkFor f, ResetGame g)
        {
            //Get Grap Create Recs
            output    = d;
            resetgame = g;

            graphics = a;

            unitdestroly = e;
            sakkfordel   = f;
            //Add Players
            players.Add(b); players.Add(c);

            //Readin Files
            figures = GetFiguresIMG();

            //Setup Table
            units = SetUpTable();
            Show();
        }