コード例 #1
0
        public Form1() {
            instance = this;
            InitializeComponent();

            imageRes = new Bitmap("th.jpg");

            pictureBox1.Paint += new PaintEventHandler(pictureBox1_Paint);
            pictureBox2.Paint += new PaintEventHandler(pictureBox2_Paint);
            pictureBox3.Paint += new PaintEventHandler(pictureBox3_Paint);
            pictureBox4.Paint += new PaintEventHandler(pictureBox4_Paint);

            pictureBox4.MouseClick += new MouseEventHandler(pictureBox4_MouseClick);

            manager = new Manager();
            manager.StartNewRound();
        }
コード例 #2
0
 public Agent_AI(int agentIndex, Manager manager):base(agentIndex, manager) { 
 }
コード例 #3
0
 public Agent(int agentIndex, Manager manager) {
     this.manager = manager;
     holdingCards = new List<Card>();
     playedCards = new List<Card>();
     this.agentIndex = agentIndex;
 }