2009-11-11 9:55:34 出处:https://www.yqdown.com
if(this.activeIndex<=-1) //防止
一开始就点后退
return 0;
fromIndex=this.fromIndex[this.activeIndex];
toIndex=this.toIndex[this.activeIndex];
fromPoint=this.fromPoint[this.activeIndex];
toPoint=this.toPoint[this.activeIndex];
Chess_Text=this.Chess_Text[this.activeIndex];
signRight=this.signRight[this.activeIndex];
start=this.start[this.activeIndex];
wrongString=this.wrongString[this.activeIndex];
whichFangQianZou=this.whichFangQianZou[this.activeIndex];
b.Initialize();
b.Initialize(this.b[this.activeIndex]);
this.activeIndex--;
return 1;
}
public int GoAhead(ref int fromIndex, ref int toIndex, ref Point fromPoint, ref Point toPoint, ref string Chess_Text, ref int signRight, ref bool start, ref string wrongString, ref bool whichFangQianZou, ref RegretBack b)
{
if(this.activeIndex>=this.tailIndex-1)
return 0; //只能前进到最后一步旗
分享到