public int[][] GetLine(){
		int line[][] = new int [4][2];
		int i;
		switch(this.direction){
		case Chessline.LEFT:
			for(i=this.chess_num-1;i>=0;i--){
				line[i][0] = this.start_x-i;
				line[i][1] = this.start_y;
			}
			break;
			
		case Chessline.DOWN:
			for(i=this.chess_num-1;i>=0;i--)
			{
				line[i][0] = this.start_x;
				line[i][1] = this.start_y-i;
			}
			break;
		case Chessline.DOWNLEFT:
			for(i=this.chess_num-1;i>=0;i--)
			{
				line[i][0] = this.start_x-i;
				line[i][1] = this.start_y-i;
			}
			break;
		
		case Chessline.DOWNRIGHT:
			for(i=this.chess_num-1;i>=0;i--)
			{
				line[i][0] = this.start_x+i;
				line[i][1] = this.start_y-i;
			}
			break;
			
			default:
				throw new java.lang.RuntimeException("The direction is illegal!");
		}
		
		return line;
		
	}