//------------------ SetUpPieceClass3 -------------------// import java.awt.*; import java.applet.*; import java.io.*; import java.lang.String; import java.util.Random; import java.util.Date; public class mySetUpPiece3 { final int RR=0, LL=1, DD= 2,UU =3; void TP_DoSetUpEternityPiece3(myPieceTypeClass gPieceType[]) { //---------------------- 30 --------------// gPieceType[30].totalnum=7; gPieceType[30].num0=5; gPieceType[30].num1=2; gPieceType[30].mytype[0].loc[0].h=1; gPieceType[30].mytype[0].loc[0].v=0; gPieceType[30].mytype[0].loc[1].h=2; gPieceType[30].mytype[0].loc[1].v=0; gPieceType[30].mytype[0].loc[2].h=0; gPieceType[30].mytype[0].loc[2].v=1; gPieceType[30].mytype[0].loc[3].h=1; gPieceType[30].mytype[0].loc[3].v=1; gPieceType[30].mytype[0].loc[4].h=2; gPieceType[30].mytype[0].loc[4].v=1; gPieceType[30].mytype[0].loc[5].h=3; gPieceType[30].mytype[0].loc[5].v=1; gPieceType[30].mytype[0].loc[6].h=4; gPieceType[30].mytype[0].loc[6].v=1; gPieceType[30].mytype[0].full[0]=false; gPieceType[30].mytype[0].full[1]=true; gPieceType[30].mytype[0].full[2]=false; gPieceType[30].mytype[0].full[3]=true; gPieceType[30].mytype[0].full[4]=true; gPieceType[30].mytype[0].full[5]=true; gPieceType[30].mytype[0].full[6]=true; gPieceType[30].mytype[0].up[0]=false; gPieceType[30].mytype[0].up[1]=true; gPieceType[30].mytype[0].up[2]=false; gPieceType[30].mytype[0].up[3]=true; gPieceType[30].mytype[0].up[4]=false; gPieceType[30].mytype[0].up[5]=true; gPieceType[30].mytype[0].up[6]=false; gPieceType[30].mytype[0].halfindex[0][0]=RR; gPieceType[30].mytype[0].halfindex[0][1]=UU; gPieceType[30].mytype[0].halfindex[2][0]=RR; gPieceType[30].mytype[0].halfindex[2][1]=LL; //---------------------- 31 --------------// gPieceType[31].totalnum=7; gPieceType[31].num0=5; gPieceType[31].num1=2; gPieceType[31].mytype[0].loc[0].h=0; gPieceType[31].mytype[0].loc[0].v=0; gPieceType[31].mytype[0].loc[1].h=1; gPieceType[31].mytype[0].loc[1].v=0; gPieceType[31].mytype[0].loc[2].h=0; gPieceType[31].mytype[0].loc[2].v=1; gPieceType[31].mytype[0].loc[3].h=1; gPieceType[31].mytype[0].loc[3].v=1; gPieceType[31].mytype[0].loc[4].h=2; gPieceType[31].mytype[0].loc[4].v=1; gPieceType[31].mytype[0].loc[5].h=3; gPieceType[31].mytype[0].loc[5].v=1; gPieceType[31].mytype[0].loc[6].h=4; gPieceType[31].mytype[0].loc[6].v=1; gPieceType[31].mytype[0].full[0]=true; gPieceType[31].mytype[0].full[1]=false; gPieceType[31].mytype[0].full[2]=true; gPieceType[31].mytype[0].full[3]=true; gPieceType[31].mytype[0].full[4]=true; gPieceType[31].mytype[0].full[5]=true; gPieceType[31].mytype[0].full[6]=false; gPieceType[31].mytype[0].up[0]=true; gPieceType[31].mytype[0].up[1]=false; gPieceType[31].mytype[0].up[2]=false; gPieceType[31].mytype[0].up[3]=true; gPieceType[31].mytype[0].up[4]=false; gPieceType[31].mytype[0].up[5]=true; gPieceType[31].mytype[0].up[6]=false; gPieceType[31].mytype[0].halfindex[1][0]=LL; gPieceType[31].mytype[0].halfindex[1][1]=UU; gPieceType[31].mytype[0].halfindex[6][0]=LL; gPieceType[31].mytype[0].halfindex[6][1]=UU; //---------------------- 32 --------------// gPieceType[32].totalnum=7; gPieceType[32].num0=5; gPieceType[32].num1=2; gPieceType[32].mytype[0].loc[0].h=0; gPieceType[32].mytype[0].loc[0].v=0; gPieceType[32].mytype[0].loc[1].h=1; gPieceType[32].mytype[0].loc[1].v=0; gPieceType[32].mytype[0].loc[2].h=0; gPieceType[32].mytype[0].loc[2].v=1; gPieceType[32].mytype[0].loc[3].h=1; gPieceType[32].mytype[0].loc[3].v=1; gPieceType[32].mytype[0].loc[4].h=2; gPieceType[32].mytype[0].loc[4].v=1; gPieceType[32].mytype[0].loc[5].h=3; gPieceType[32].mytype[0].loc[5].v=1; gPieceType[32].mytype[0].loc[6].h=4; gPieceType[32].mytype[0].loc[6].v=1; gPieceType[32].mytype[0].full[0]=true; gPieceType[32].mytype[0].full[1]=false; gPieceType[32].mytype[0].full[2]=true; gPieceType[32].mytype[0].full[3]=true; gPieceType[32].mytype[0].full[4]=true; gPieceType[32].mytype[0].full[5]=true; gPieceType[32].mytype[0].full[6]=false; gPieceType[32].mytype[0].up[0]=true; gPieceType[32].mytype[0].up[1]=false; gPieceType[32].mytype[0].up[2]=false; gPieceType[32].mytype[0].up[3]=true; gPieceType[32].mytype[0].up[4]=false; gPieceType[32].mytype[0].up[5]=true; gPieceType[32].mytype[0].up[6]=false; gPieceType[32].mytype[0].halfindex[1][0]=LL; gPieceType[32].mytype[0].halfindex[1][1]=UU; gPieceType[32].mytype[0].halfindex[6][0]=LL; gPieceType[32].mytype[0].halfindex[6][1]=RR; //---------------------- 33 --------------// gPieceType[33].totalnum=7; gPieceType[33].num0=5; gPieceType[33].num1=2; gPieceType[33].mytype[0].loc[0].h=0; gPieceType[33].mytype[0].loc[0].v=0; gPieceType[33].mytype[0].loc[1].h=1; gPieceType[33].mytype[0].loc[1].v=0; gPieceType[33].mytype[0].loc[2].h=2; gPieceType[33].mytype[0].loc[2].v=0; gPieceType[33].mytype[0].loc[3].h=1; gPieceType[33].mytype[0].loc[3].v=1; gPieceType[33].mytype[0].loc[4].h=2; gPieceType[33].mytype[0].loc[4].v=1; gPieceType[33].mytype[0].loc[5].h=3; gPieceType[33].mytype[0].loc[5].v=1; gPieceType[33].mytype[0].loc[6].h=4; gPieceType[33].mytype[0].loc[6].v=1; gPieceType[33].mytype[0].full[0]=false; gPieceType[33].mytype[0].full[1]=true; gPieceType[33].mytype[0].full[2]=false; gPieceType[33].mytype[0].full[3]=true; gPieceType[33].mytype[0].full[4]=true; gPieceType[33].mytype[0].full[5]=true; gPieceType[33].mytype[0].full[6]=true; gPieceType[33].mytype[0].up[0]=false; gPieceType[33].mytype[0].up[1]=true; gPieceType[33].mytype[0].up[2]=false; gPieceType[33].mytype[0].up[3]=false; gPieceType[33].mytype[0].up[4]=true; gPieceType[33].mytype[0].up[5]=false; gPieceType[33].mytype[0].up[6]=true; gPieceType[33].mytype[0].halfindex[0][0]=RR; gPieceType[33].mytype[0].halfindex[0][1]=LL; gPieceType[33].mytype[0].halfindex[2][0]=LL; gPieceType[33].mytype[0].halfindex[2][1]=UU; //---------------------- 34 --------------// gPieceType[34].totalnum=7; gPieceType[34].num0=5; gPieceType[34].num1=2; gPieceType[34].mytype[0].loc[0].h=0; gPieceType[34].mytype[0].loc[0].v=0; gPieceType[34].mytype[0].loc[1].h=1; gPieceType[34].mytype[0].loc[1].v=0; gPieceType[34].mytype[0].loc[2].h=2; gPieceType[34].mytype[0].loc[2].v=0; gPieceType[34].mytype[0].loc[3].h=0; gPieceType[34].mytype[0].loc[3].v=1; gPieceType[34].mytype[0].loc[4].h=1; gPieceType[34].mytype[0].loc[4].v=1; gPieceType[34].mytype[0].loc[5].h=2; gPieceType[34].mytype[0].loc[5].v=1; gPieceType[34].mytype[0].loc[6].h=3; gPieceType[34].mytype[0].loc[6].v=1; gPieceType[34].mytype[0].full[0]=true; gPieceType[34].mytype[0].full[1]=false; gPieceType[34].mytype[0].full[2]=false; gPieceType[34].mytype[0].full[3]=true; gPieceType[34].mytype[0].full[4]=true; gPieceType[34].mytype[0].full[5]=true; gPieceType[34].mytype[0].full[6]=true; gPieceType[34].mytype[0].up[0]=true; gPieceType[34].mytype[0].up[1]=false; gPieceType[34].mytype[0].up[2]=true; gPieceType[34].mytype[0].up[3]=false; gPieceType[34].mytype[0].up[4]=true; gPieceType[34].mytype[0].up[5]=false; gPieceType[34].mytype[0].up[6]=true; gPieceType[34].mytype[0].halfindex[1][0]=LL; gPieceType[34].mytype[0].halfindex[1][1]=RR; gPieceType[34].mytype[0].halfindex[2][0]=DD; gPieceType[34].mytype[0].halfindex[2][1]=LL; //---------------------- 35 --------------// gPieceType[35].totalnum=7; gPieceType[35].num0=5; gPieceType[35].num1=2; gPieceType[35].mytype[0].loc[0].h=0; gPieceType[35].mytype[0].loc[0].v=0; gPieceType[35].mytype[0].loc[1].h=1; gPieceType[35].mytype[0].loc[1].v=0; gPieceType[35].mytype[0].loc[2].h=0; gPieceType[35].mytype[0].loc[2].v=1; gPieceType[35].mytype[0].loc[3].h=1; gPieceType[35].mytype[0].loc[3].v=1; gPieceType[35].mytype[0].loc[4].h=2; gPieceType[35].mytype[0].loc[4].v=1; gPieceType[35].mytype[0].loc[5].h=3; gPieceType[35].mytype[0].loc[5].v=1; gPieceType[35].mytype[0].loc[6].h=3; gPieceType[35].mytype[0].loc[6].v=2; gPieceType[35].mytype[0].full[0]=true; gPieceType[35].mytype[0].full[1]=false; gPieceType[35].mytype[0].full[2]=true; gPieceType[35].mytype[0].full[3]=true; gPieceType[35].mytype[0].full[4]=true; gPieceType[35].mytype[0].full[5]=true; gPieceType[35].mytype[0].full[6]=false; gPieceType[35].mytype[0].up[0]=true; gPieceType[35].mytype[0].up[1]=false; gPieceType[35].mytype[0].up[2]=false; gPieceType[35].mytype[0].up[3]=true; gPieceType[35].mytype[0].up[4]=false; gPieceType[35].mytype[0].up[5]=true; gPieceType[35].mytype[0].up[6]=false; gPieceType[35].mytype[0].halfindex[1][0]=LL; gPieceType[35].mytype[0].halfindex[1][1]=RR; gPieceType[35].mytype[0].halfindex[6][0]=UU; gPieceType[35].mytype[0].halfindex[6][1]=RR; //---------------------- 36 --------------// gPieceType[36].totalnum=7; gPieceType[36].num0=5; gPieceType[36].num1=2; gPieceType[36].mytype[0].loc[0].h=0; gPieceType[36].mytype[0].loc[0].v=0; gPieceType[36].mytype[0].loc[1].h=1; gPieceType[36].mytype[0].loc[1].v=0; gPieceType[36].mytype[0].loc[2].h=0; gPieceType[36].mytype[0].loc[2].v=1; gPieceType[36].mytype[0].loc[3].h=1; gPieceType[36].mytype[0].loc[3].v=1; gPieceType[36].mytype[0].loc[4].h=2; gPieceType[36].mytype[0].loc[4].v=1; gPieceType[36].mytype[0].loc[5].h=3; gPieceType[36].mytype[0].loc[5].v=1; gPieceType[36].mytype[0].loc[6].h=3; gPieceType[36].mytype[0].loc[6].v=2; gPieceType[36].mytype[0].full[0]=true; gPieceType[36].mytype[0].full[1]=false; gPieceType[36].mytype[0].full[2]=true; gPieceType[36].mytype[0].full[3]=true; gPieceType[36].mytype[0].full[4]=true; gPieceType[36].mytype[0].full[5]=true; gPieceType[36].mytype[0].full[6]=false; gPieceType[36].mytype[0].up[0]=true; gPieceType[36].mytype[0].up[1]=false; gPieceType[36].mytype[0].up[2]=false; gPieceType[36].mytype[0].up[3]=true; gPieceType[36].mytype[0].up[4]=false; gPieceType[36].mytype[0].up[5]=true; gPieceType[36].mytype[0].up[6]=false; gPieceType[36].mytype[0].halfindex[1][0]=LL; gPieceType[36].mytype[0].halfindex[1][1]=RR; gPieceType[36].mytype[0].halfindex[6][0]=UU; gPieceType[36].mytype[0].halfindex[6][1]=LL; //---------------------- 37 --------------// gPieceType[37].totalnum=7; gPieceType[37].num0=5; gPieceType[37].num1=2; gPieceType[37].mytype[0].loc[0].h=0; gPieceType[37].mytype[0].loc[0].v=0; gPieceType[37].mytype[0].loc[1].h=1; gPieceType[37].mytype[0].loc[1].v=0; gPieceType[37].mytype[0].loc[2].h=2; gPieceType[37].mytype[0].loc[2].v=0; gPieceType[37].mytype[0].loc[3].h=1; gPieceType[37].mytype[0].loc[3].v=1; gPieceType[37].mytype[0].loc[4].h=2; gPieceType[37].mytype[0].loc[4].v=1; gPieceType[37].mytype[0].loc[5].h=3; gPieceType[37].mytype[0].loc[5].v=1; gPieceType[37].mytype[0].loc[6].h=4; gPieceType[37].mytype[0].loc[6].v=1; gPieceType[37].mytype[0].full[0]=false; gPieceType[37].mytype[0].full[1]=true; gPieceType[37].mytype[0].full[2]=false; gPieceType[37].mytype[0].full[3]=true; gPieceType[37].mytype[0].full[4]=true; gPieceType[37].mytype[0].full[5]=true; gPieceType[37].mytype[0].full[6]=true; gPieceType[37].mytype[0].up[0]=false; gPieceType[37].mytype[0].up[1]=true; gPieceType[37].mytype[0].up[2]=false; gPieceType[37].mytype[0].up[3]=false; gPieceType[37].mytype[0].up[4]=true; gPieceType[37].mytype[0].up[5]=false; gPieceType[37].mytype[0].up[6]=true; gPieceType[37].mytype[0].halfindex[0][0]=RR; gPieceType[37].mytype[0].halfindex[0][1]=UU; gPieceType[37].mytype[0].halfindex[2][0]=LL; gPieceType[37].mytype[0].halfindex[2][1]=RR; //---------------------- 38 --------------// gPieceType[38].totalnum=7; gPieceType[38].num0=5; gPieceType[38].num1=2; gPieceType[38].mytype[0].loc[0].h=0; gPieceType[38].mytype[0].loc[0].v=0; gPieceType[38].mytype[0].loc[1].h=1; gPieceType[38].mytype[0].loc[1].v=0; gPieceType[38].mytype[0].loc[2].h=2; gPieceType[38].mytype[0].loc[2].v=0; gPieceType[38].mytype[0].loc[3].h=0; gPieceType[38].mytype[0].loc[3].v=1; gPieceType[38].mytype[0].loc[4].h=1; gPieceType[38].mytype[0].loc[4].v=1; gPieceType[38].mytype[0].loc[5].h=2; gPieceType[38].mytype[0].loc[5].v=1; gPieceType[38].mytype[0].loc[6].h=3; gPieceType[38].mytype[0].loc[6].v=1; gPieceType[38].mytype[0].full[0]=true; gPieceType[38].mytype[0].full[1]=false; gPieceType[38].mytype[0].full[2]=false; gPieceType[38].mytype[0].full[3]=true; gPieceType[38].mytype[0].full[4]=true; gPieceType[38].mytype[0].full[5]=true; gPieceType[38].mytype[0].full[6]=true; gPieceType[38].mytype[0].up[0]=true; gPieceType[38].mytype[0].up[1]=false; gPieceType[38].mytype[0].up[2]=true; gPieceType[38].mytype[0].up[3]=false; gPieceType[38].mytype[0].up[4]=true; gPieceType[38].mytype[0].up[5]=false; gPieceType[38].mytype[0].up[6]=true; gPieceType[38].mytype[0].halfindex[1][0]=RR; gPieceType[38].mytype[0].halfindex[1][1]=LL; gPieceType[38].mytype[0].halfindex[2][0]=LL; gPieceType[38].mytype[0].halfindex[2][1]=DD; //---------------------- 39 --------------// gPieceType[39].totalnum=7; gPieceType[39].num0=5; gPieceType[39].num1=2; gPieceType[39].mytype[0].loc[0].h=0; gPieceType[39].mytype[0].loc[0].v=0; gPieceType[39].mytype[0].loc[1].h=2; gPieceType[39].mytype[0].loc[1].v=0; gPieceType[39].mytype[0].loc[2].h=0; gPieceType[39].mytype[0].loc[2].v=1; gPieceType[39].mytype[0].loc[3].h=1; gPieceType[39].mytype[0].loc[3].v=1; gPieceType[39].mytype[0].loc[4].h=2; gPieceType[39].mytype[0].loc[4].v=1; gPieceType[39].mytype[0].loc[5].h=3; gPieceType[39].mytype[0].loc[5].v=1; gPieceType[39].mytype[0].loc[6].h=4; gPieceType[39].mytype[0].loc[6].v=1; gPieceType[39].mytype[0].full[0]=true; gPieceType[39].mytype[0].full[1]=false; gPieceType[39].mytype[0].full[2]=true; gPieceType[39].mytype[0].full[3]=true; gPieceType[39].mytype[0].full[4]=true; gPieceType[39].mytype[0].full[5]=true; gPieceType[39].mytype[0].full[6]=false; gPieceType[39].mytype[0].up[0]=true; gPieceType[39].mytype[0].up[1]=true; gPieceType[39].mytype[0].up[2]=false; gPieceType[39].mytype[0].up[3]=true; gPieceType[39].mytype[0].up[4]=false; gPieceType[39].mytype[0].up[5]=true; gPieceType[39].mytype[0].up[6]=false; gPieceType[39].mytype[0].halfindex[1][0]=DD; gPieceType[39].mytype[0].halfindex[1][1]=LL; gPieceType[39].mytype[0].halfindex[6][0]=LL; gPieceType[39].mytype[0].halfindex[6][1]=RR; } }