public void selectPiece(int x,int y){
		if(x>0&&x<canvas_width&&y>0&&y<canvas_height){
		current_square_x = x/grid_size;
		current_square_y = (y/grid_size_y)-2; 
		if(board.getBoardArray()[current_square_y][current_square_x].getOccupied()!=null){
			selected = board.getBoardArray()[current_square_y][current_square_x].getOccupied();
			System.out.println("SELECTED:"+board.getBoardArray()[current_square_y][current_square_x].getOccupied()+" @"+current_square_x+":"+current_square_y);
		}
	}
	}