Beispiel #1
0
        public Virtual_Investor(Form1 form1, int i, string charactor, Form1.TextDelegate textDelegate, int fund, Stock rip, Stock trx, Stock eos, Stock ada, Stock qtum, int w)
        {
            this.Funds        = fund;                 // 초기자금 설정
            this.form1        = form1;                // form1의 데이터를 가져오기
            this.textDelegate = textDelegate;         //Delegate 선언
            dealsystem        = new DealSystem(this); // DealSystem에 현재 객체 정보를전달
            this.InvestorName = "Virtual_" + i;       //Virtual 고유 이름
            this.Charactor    = charactor;            // 성격 저장
            this.code         = i;
            for (int c = 0; c < 5; c++)
            {
                this.wallet[c] = w;
            }


            this.form1.Invoke(textDelegate, "성격이" + Charactor + "인객체 생성\n"); //객체생성확인Log
                                                                             //fightting,middleFightting, Normal, middleUnder, Under
        }
Beispiel #2
0
 public Virtual_Investor(DealSystem deal)
 {
     this.dealsystem = deal;
 }