コード例 #1
0
ファイル: Point.cs プロジェクト: Vzepic/New-T-Bot-with-phone
        public Point CopyToPoint(TennisPrices.VjekosPoint PointToCopy)
        {
            this.BFMarket     = this.BFMarket.CopyToMarket(PointToCopy.BFMarket);
            this.CurrentScore = this.CurrentScore.CopyToScore(PointToCopy.CurrentScore);
            this.PlayerWon    = PointToCopy.PlayerWon;
            this.Type         = PointToCopy.Type;

            return(this);
        }
コード例 #2
0
ファイル: Point.cs プロジェクト: Vzepic/New-T-Bot-with-phone
        public TennisPrices.VjekosPoint CopyToVP()
        {
            TennisPrices.VjekosPoint Result = new TennisPrices.VjekosPoint();
            Result.BFMarket     = this.BFMarket.CopyToVM();
            Result.CurrentScore = this.CurrentScore.CopyToVS();
            Result.PlayerWon    = this.PlayerWon;
            Result.Type         = this.Type;

            return(Result);
        }