@Override
	public boolean actionPieces(Move m, Board b, Player p) {
		
		int originMoveX = m.getOrigin().getX();
		int originMoveY = m.getOrigin().getY();
		
		int destinationMoveX = m.getX();
		int destinationMoveY = m.getY();
		
		if(destinationMoveX == (originMoveX+2) || destinationMoveX == (originMoveX-2))
		{
			if(destinationMoveY == (originMoveY+2) || destinationMoveY == (originMoveY-2))
			{
				int midpointX = (destinationMoveX+originMoveX)/2;
				int midpointY = (destinationMoveY+originMoveY)/2;
				
				
				if(b.getPiece(midpointX, midpointY).compareTo(new Disc(p.getColour()))==0)
				{
					return true;
				}
			}
			
		}
		
		return false;
		
	}