Пример #1
0
 public UndergroundRepository(List<PlayCard> Field, List<PlayCard> ShowHand,Player Player,Form1 form1,Deck deck)
 {
     this.Field = Field;
     this.Hand = ShowHand;
     player = Player;
     Click += new EventHandler(MoveField);
     Click += new EventHandler(DoAction);
     this.form1 = form1;
     button.Location = new System.Drawing.Point(820, 540);
     button.Text = "決定";
     button.Visible = false;
     form1.Controls.Add(button);
     Deck = deck;
     button.Click += new EventHandler(DrawCard);
     Type["action"] = true;
     cost = 2;
 }